Dig and nslookup resolve; ping doesn't

Barry Margolin barmar at alum.mit.edu
Thu Jul 14 00:51:08 UTC 2005


In article <db48g5$1jpg$1 at sf1.isc.org>,
 Mark Tunnell <unixadmin at livebridge.com> wrote:

> I've got a box running Fedora Core release 3.  I'm able to resolve 
> names such as www.yahoo.com using nslookup or dig but not using ping. 
> "ping www.yahoo.com" returns "ping: unknown host www.yahoo.com".
> 
> /etc/host.conf
> 	order hosts,bind
> /etc/nsswitch.conf
> 	hosts: files dns
> 
> I'm logged in as root.  What am I missing here?

Is there really a space at the beginning of the "hosts:" line in 
/etc/nsswitch.conf?  That could be a problem.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list