Mike Leone on 19 Apr 2010 17:11:46 -0700 |
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 (10.0.0.60) 56(84) bytes of data. 64 bytes from dim-win2300.dacrib.local (10.0.0.60): 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 Server: 10.0.0.60 Address: 10.0.0.60#53 Name: dim-win2300.DaCrib.local Address: 10.0.0.60 turgon@turgon-laptop:/$ nslookup dim-win2300.dacrib.local Server: 10.0.0.60 Address: 10.0.0.60#53 Name: dim-win2300.dacrib.local Address: 10.0.0.60 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 nameserver 10.0.0.60 I have no entires in hosts (except for 127.0.0.1, 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
|
|