nslookup YES!!! ping,ftp NO????

Daniel Matuschek daniel.matuschek at ip-plus.net
Mon Jul 12 16:06:48 UTC 1999


ISBlaney wrote:
> 
> Please help out this newbie.
> 
> I have recently setup bind on our UNIX machine. As far as I can see I have set
> up the configuration files properly.
> 
>  My problem is that I cannot ping, telnet etc any hosts using their hostname. I
> keep getting "hostname not found" messsge but when I use nslookup <hostname> I
> get a reply with correct IP address.
> 
> Why is this?
> Thanks in advance
> Ian

Is it Solaris ? Then look at /etc/nsswitch.conf
There should be a line

hosts:      files dns

If there is no dns in this line, nslookup will be the only software
which uses DNS.

Daniel
-- 

Daniel Matuschek
daniel.matuschek at ip-plus.net
Swisscom IP-Plus (http://www.ip-plus.net)


More information about the bind-users mailing list