  | |  | DNS Q: 'host fqdn ' works, 'ping ip ' works, 'ping fqdn ' does NOT! | DNS Q: 'host fqdn ' works, 'ping ip ' works, 'ping fqdn ' does NOT! 2003-05-06 - By Frank Vreugdenhil
Back I am trying to get this box working using my isp dns.
I verified the dns setup using the host/dig and nslookup commands. I can ping the ip address corresponding to it and ftp etc. to the internet using an ip address. It wont let me ping etc. using a fully qualified domain name.
Can anyone suggest what is wrong in this setup from these symptoms?
>From an strace I can see that host/dig and nslookup utilities seem to have a different method then telnet/ping/ftp to resolve names. Telnet/ping/ftp are connecting using udp to the dns port 53 (as expected). But utilities like 'host' do not seem to attempt a connect from what I can see in the trace, but still manage to get the job done.
Following is a transcript of some commands: [root@(protected) tmp]# host www.google.com www.google.com. has address 216.239.57.99 [root@(protected) tmp]# ping -c 1 216.239.57.99 PING 216.239.57.99 (216.239.57.99) from 10.0.1.4 : 56(84) bytes of data. 64 bytes from 216.239.57.99: icmp_seq=0 ttl=45 time=305.667 msec
--- 216.239.57.99 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/mdev = 305.667/305.667/305.667/0.000 ms [root@(protected) tmp]# ping -c 1 www.google.com # this command times out ping: unknown host www.google.com [root@(protected) tmp]# cat /etc/resolv.conf nameserver 10.0.1.1 [root@(protected) tmp]# grep hosts /etc/nsswitch.conf hosts: files dns nisplus [root@(protected) tmp]# cat /etc/host.conf order hosts,bind
Any help here is appreciated. Frank V.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ MSN Instant Messenger now available on Australian mobile phones.?Go to http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp
Earn $52 per hosting referral at Lunarpages.
|
|
 |