strange DNS behavior

Peter Arremann loony at loonybin.org
Tue Dec 27 22:55:56 UTC 2005


On Tuesday 27 December 2005 17:52, Adel ESSAFI wrote:
> hi list
> I have instaled a dns server (FC4)  as a master on utic.rnu.tn domain
> on the server , I don t succeed to resolv the hist ordi1.utic.rnu.tn
> How ever, on an other host (xtrem) , I can resolv this host .
> do you have an idea of what this problem could be
> thanks
> ON THE SERVER
> [root at localhost named]# hostname
> localhost.localdomain
> [root at localhost named]# ping ordi1.utic.rnu.tn
> ping: unknown host ordi1.utic.rnu.tn
> [root at localhost named]#
> ON THE HOST
> [root at xtrem ~]# hostname
> xtrem
> [root at xtrem ~]# ping ordi1.utic.rnu.tn
> PING ordi1.utic.rnu.tn (193.95.34.232) 56(84) bytes of data.
> 64 bytes from 193.95.34.232: icmp_seq=0 ttl=64 time=0.048 ms
> 64 bytes from 193.95.34.232: icmp_seq=1 ttl=64 time=0.030 ms
>
> --- ordi1.utic.rnu.tn ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 5022ms
> rtt min/avg/max/mdev = 0.030/0.039/0.048/0.009 ms, pipe 2
> [root at xtrem ~]#

More than likely, you forgot to list 127.0.0.1 as a nameserver 
in /etc/resolv.conf on the server "localhost" 

If that isn't it - check nsswitch.conf and make sure that the line that starts 
with hosts: has dns listed as one of the entries...

Peter.




More information about the users mailing list