[Hampshire] Ubuntu Network Manager and local DNS zone not pl…

Top Page

Reply to this message
Author: Imran Chaudhry
Date:  
To: hampshire
Subject: [Hampshire] Ubuntu Network Manager and local DNS zone not playing nice?
I've configured a private DNS zone imran.local [1] on my LAN, I'm
using bind9 on Debian Squeeze.

The problem is that while servers on the network will resolve and ping
hosts in the private zone fine, the desktops (Ubuntu Lucid Lynx) do
not when using a FQDN.

$ dig xenserver.imran.local
;; QUESTION SECTION:
;xenserver.imran.local.         IN      A

;; ANSWER SECTION:
xenserver.imran.local.  86400   IN      A       192.168.98.30

My problem is that while I can ping by hostname...

$ ping xenserver
PING xenserver.imran.local (192.168.98.30) 56(84) bytes of data.
64 bytes from xenserver.imran.local (192.168.98.30): icmp_seq=1 ttl=64
time=4.12 ms
64 bytes from xenserver.imran.local (192.168.98.30): icmp_seq=2 ttl=64
time=0.245 ms
64 bytes from xenserver.imran.local (192.168.98.30): icmp_seq=3 ttl=64
time=0.245 ms

...which I would expect to work given my search domain.

I cannot ping by FQDN:
$ ping xenserver.imran.local
ping: unknown host xenserver.imran.local

$ cat /etc/resolv.conf
# Generated by NetworkManager
search imran.local
nameserver 192.168.98.3

192.168.98.3 is Debian Squeeze running bind9.

What is going on? I suspect NetworkManager as this works OK
from another standard Debian server on my network configured to use
192.168.98.3 as DNS.

One other thing to mention is that I had dnsmasq running. I think was
installed with convirt package? Anyhow, I purged that package but that
did not fix it.

[1] Yeah, I know it's probably not good to make up your own TLDs, I
plan to use a .net domain in future.
--
GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F

“Live as if you were to die tomorrow. Learn as if you were to live
forever.” - Indian political and spiritual leader Mahatma Gandhi
(1869-1948)



--
GPG Key fingerprint = B323 477E F6AB 4181 9C65  F637 BC5F 7FCC 9CC9 CC7F

“Live as if you were to die tomorrow. Learn as if you were to live
forever.” - Indian political and spiritual leader Mahatma Gandhi
(1869-1948)