Justin Karneges
2016-02-12 17:44:15 UTC
Hi list,
I noticed a weird issue on Ubuntu 14.04, which installs dnsmasq 2.68. If I
try to look up an A record for a non-existent host within the "localdomain"
domain without edns, the server is unresponsive.
In other words, these commands all get a response from 127.0.0.1 in some
way (NXDOMAIN or empty) :
dig nosuchhost.localdomain
dig nosuchhost.foo
dig nosuchhost
dig nosuchhost.foo +noedns
dig nosuchhost +noedns
whereas, this command hangs:
dig nosuchhost.localdomain +noedns
; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> nosuchhost.localdomain +noedns
;; global options: +cmd
;; connection timed out; no servers could be reached
This issue does not appear to be present in Ubuntu 15.10, which uses
dnsmasq 2.75.
Was this a bug in dnsmasq that was fixed? Or a configuration difference
between the two OS versions?
Thanks,
Justin
I noticed a weird issue on Ubuntu 14.04, which installs dnsmasq 2.68. If I
try to look up an A record for a non-existent host within the "localdomain"
domain without edns, the server is unresponsive.
In other words, these commands all get a response from 127.0.0.1 in some
way (NXDOMAIN or empty) :
dig nosuchhost.localdomain
dig nosuchhost.foo
dig nosuchhost
dig nosuchhost.foo +noedns
dig nosuchhost +noedns
whereas, this command hangs:
dig nosuchhost.localdomain +noedns
; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> nosuchhost.localdomain +noedns
;; global options: +cmd
;; connection timed out; no servers could be reached
This issue does not appear to be present in Ubuntu 15.10, which uses
dnsmasq 2.75.
Was this a bug in dnsmasq that was fixed? Or a configuration difference
between the two OS versions?
Thanks,
Justin