Ben Love on 19 Apr 2010 20:44:43 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Odd name resolution issue on Ubuntu 9.10


* Mike Leone wrote on [2010-04-19 20:11:25 -0400]:
> So I'm at a bit of a loss as to why pinging the short name works, but
> not pinging the FQDN. Especially as a lookup works for either short name
>  or FQDN.

Doing dig or nslookup will query the nameserver directly.  Ping will use
the C library resolve functions.  So the error is in your resolver
somewhere, not with your DNS.

> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
> 
> passwd:         compat winbind
> group:          compat winbind
> shadow:         compat winbind
> 
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:       nis

That hosts line looks very odd -- particularly, the NOTFOUND=return
BEFORE dns.  My hosts line just says "files dns".  I'd start there.

Ben

-- 
Ben Love
http://www.kylimar.com/

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug