Portál AbcLinuxu, 6. května 2025 09:23
nslookup
em tak nedostanu informace o IP, ale ping
nebo prohlížeč resoluci mají, viz [root@carbon ~]# ping www.google.com PING www.google.com (172.217.23.228) 56(84) bytes of data. 64 bytes from prg03s06-in-f4.1e100.net (172.217.23.228): icmp_seq=1 ttl=56 time=30.4 ms 64 bytes from prg03s06-in-f4.1e100.net (172.217.23.228): icmp_seq=2 ttl=56 time=39.1 ms 64 bytes from prg03s06-in-f4.1e100.net (172.217.23.228): icmp_seq=3 ttl=56 time=80.0 ms ^C --- www.google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 30.478/49.889/80.086/21.640 ms [root@carbon ~]# nslookup > www.google.com Server: 192.168.137.1 Address: 192.168.137.1#53 ** server can't find www.google.com: REFUSED > exitv
resolv.conf
je jen ten W8 mobil. A v ps
není bind
nebo dnsmasq
. Takže si říkám, jak to ten ping ví.
Řešení dotazu:
https://linux.die.net/man/5/nsswitch.conf
https://linux.die.net/man/5/resolv.conf
https://linux.die.net/man/8/avahi-daemon
ps aux | grep -i dns
? mohlo by byt jeste nsd, pdnsd, ubound, etc.?
jinak resoluce dobry, skoro jako rezoluce OSN :)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.