unknown host on server

Kerry Thompson kerry at security.geek.nz
Sun Sep 12 23:44:21 UTC 2004


On Mon, 2004-09-13 at 07:18, Frank Hess wrote:
> Hi all,
> 
> i have set up a bind server for my intranet. From my clients the dns works fine. But by trying a ping ot telnet command on the server himself  i get the error message 
> "Unknown host". Paradoxically the dig and host commands are working on the server.
> 
> Has anyone an idea why the dig command works fine on the server and the ping or telnet commands malfunctions?
> 
> I am using bind 9.2.3 and SUSE Linux 9.1

Check that your /etc/nsswitch.conf file contains a line like:

    hosts:      files dns

dig/host don't seem to use nsswitch.conf, while the vanilla unix
commands like ping & telnet do.


-- 
Kerry Thompson CCNA CISSP
IT Security Consultant
http://www.crypt.gen.nz





More information about the bind-users mailing list