unknown host on server

Ladislav Vobr lvobr at ies.etisalat.ae
Mon Sep 13 10:06:58 UTC 2004


check /etc/resolv.conf

check netstat -na | grep -i listen

to see if your nameserver is running and listening on the correct interface

try locally dig @your.server.ip.address


Ladislav


Frank Hess wrote:
> The line is present in the nsswitch.conf.
> 
> Any more ideas?
> 
> Frank
> 
> Am 13.09.04 01:44:21, schrieb Kerry Thompson <kerry at security.geek.nz>:
> 
> 
>>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