On 10 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed). com>, michanux wrote:
>The answer of 'nslookup michael.zuhause.de' is:
working OK
>Neither 'ping' nor 'ftp michael.zuhause.de' find the address but 'ping
>192.168.1.12' and
>'ftp 192.168.1.12' are successfull.
Three possible causes:
[compton ~]$ cat /etc/host.conf
order hosts,bind
multi on
[compton ~]$ grep host /etc/nsswitch.conf
hosts: files nis dns
[compton ~]$
(Explanation: DNS tools like 'dig' 'dnsquery', 'host' and 'nslookup' ignore
those two files. /etc/host.conf is the older file, used by libc based
applications. /etc/nsswitch.conf is the more modern file, used by glibc2.)
It's also possible though far less likely, that there is an entry for that
hostname either in /etc/hosts, or (in the above example) in the NIS database
if you are running yp - that lists the hostname but no address, or lists some
non-accurate address.
Old guy
|