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

Michael Voight mvoight at cisco.com
Mon Jul 12 18:21:00 UTC 1999


Same answer, but it doesn't have to be Solaris 7.

Michael Voight

Daniel Matuschek wrote:
> 
> 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