Mike Leone on 19 Apr 2010 17:11:46 -0700

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

[PLUG] Odd name resolution issue on Ubuntu 9.10

I'm having a weird name resolution problem with an old laptop I
installed Ubuntu 9.10 on. I use DHCP from my LinkSys router, pointing to
an Active Directory server for DNS. This works fine for my Windows
laptop, and another Linux laptop. But observe this:

$ ping  dim-win2300
PING dim-win2300.DaCrib.local ( 56(84) bytes of data.
64 bytes from dim-win2300.dacrib.local ( icmp_seq=1 ttl=128
time=0.590 ms

$ ping  dim-win2300.dacrib.local
ping: unknown host dim-win2300.dacrib.local

turgon@turgon-laptop:/$ nslookup dim-win2300

Name:	dim-win2300.DaCrib.local

turgon@turgon-laptop:/$ nslookup dim-win2300.dacrib.local

Name:	dim-win2300.dacrib.local

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.

$ more /etc/resolv.conf
# Generated by NetworkManager
domain DaCrib.local
search DaCrib.local

I have no entires in hosts (except for, of course)

$ more /etc/nsswitch.conf
# /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

clues? Pointers? etc ...
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