Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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
Reply:     1     2     3  

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.