Portál AbcLinuxu, 23. července 2025 11:02
Ahoj,
resim problem resolvace ... na suse 10.2
jedna se o toto
dellx:/var/log # host delly
delly.aer.vzlu.local has address 192.168.2.1
dellx:/var/log #
dellx:/var/log #
dellx:/var/log #
dellx:/var/log #
dellx:/var/log #
dellx:/var/log # ping delly
ukonci timeout ...
resolv.conf a nsswitch.conf take ... ( client se overuje vuci ldapu)
nscd demon orig nastaveni
jeste nsstwich.conf
passwd: compat
group: compat
hosts: dns files
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files
aliases: files
passwd_compat: ldap
group_compat: ldap
kde je problem
dekuji za postrehy
jedna se o lokalni subnet bez firewallu IP adresy pingu dobre pouze resovling nejede
jeste jedna vec v pripade ze pingam trbe seznam.cz tak to odpovide dobre
problemem je pouze ping po lokanilni siti
tcpdump
? Zkusil bych pingat na tu IP adresu a sledovat icmp
a ARP
pakety.
Ahoj,
tcpdump .....
po dlouhem timout probehne nize uvedene
dellx:~ # tcpdump -l -n -i eth0 'port 53'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
pro info
dns server IP 192.168.2.10
klient IP 192.168.2.8
08:20:06.731140 IP 192.168.2.8.33117 > 192.168.2.10.53: 43750+ AAAA? my.dns.(34)
08:20:06.731601 IP 192.168.2.10.53 > 192.168.2.8.33117: 43750 NXDomain 0/1/0 (89)
08:20:06.731674 IP 192.168.2.8.33117 > 192.168.2.10.53: 12356+ A? my.dns. (34)
08:20:06.732049 IP 192.168.2.10.53 > 192.168.2.8.33117: 12356 NXDomain 0/1/0 (89)
V /etc/hosts mam pouze startdart co je v suse localhost a primarni adresa serveru + hostname
Promin prekoukl jsem se
je tam toto
#
order hosts, bind
#
# The following options are used by the resolver library:
#
multi on
# order bind,hosts # # The following options are used by the resolver library: # multi on
Ahoj,
nepomuze ....
jeste reknu ze kdyz restarttu nscd demona tal to cca 5min bezi resolvace bez problemu
potom to zase prestane bezet ...
dalsi poznatek client se po 20s zacne misto lokalniho dns serveru dotazovat na DNS
224.0.0.251.mdns:
multicast adresu
co to presne znamena ?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.