[Dnsmasq-discuss] Problem with resolving some names
Ainsley Pereira
dnsmasq at pebble.org.uk
Sun Jul 20 21:56:47 BST 2008
Hi,
I have dnsmasq 2.41 running on a wireless access point, and I'm having a
problem with with resolving some names, but not others.
For example:
(From a machine with dnsmasq as its only nameserver in /etc/resolv.conf)
$ dig www.mozilla.org
; <<>> DiG 9.4.2-P1 <<>> www.mozilla.org
;; global options: printcmd
;; connection timed out; no servers could be reached
$ dig @195.74.113.58 www.mozilla.org
; <<>> DiG 9.4.2-P1 <<>> @195.74.113.58 www.mozilla.org
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11822
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 0
;; QUESTION SECTION:
;www.mozilla.org. IN A
;; ANSWER SECTION:
www.mozilla.org. 9 IN CNAME
www-mozilla-org.geo.mozilla.com.
www-mozilla-org.geo.mozilla.com. 857 IN CNAME
www-mozilla-org.glb.mozilla.com.
www-mozilla-org.glb.mozilla.com. 5 IN A 63.245.213.14
;; AUTHORITY SECTION:
glb.mozilla.com. 600 IN NS
ns01.nllb.nl.mozilla.com.
glb.mozilla.com. 600 IN NS
ns01.nslb.sj.mozilla.com.
glb.mozilla.com. 600 IN NS
ns01.anycast.mozilla.com.
;; Query time: 37 msec
;; SERVER: 195.74.113.58#53(195.74.113.58)
;; WHEN: Sun Jul 20 21:51:19 2008
;; MSG SIZE rcvd: 209
On the wireless ap itself, /etc/resolv.conf contains
nameserver 195.74.113.58
nameserver 195.74.113.62
and the dnsmasq.conf is:
dhcp-authoritative
dhcp-range=br0,192.168.44.10,192.168.44.14,255.255.255.0,1440m
dhcp-broadcast=br0
dhcp-option=3,192.168.44.1
dhcp-option=6,192.168.44.1
dhcp-host=00:0e:2e:d6:8b:3b,192.168.44.4
dhcp-host=00:19:c5:f2:9b:20,192.168.44.2
dhcp-host=00:14:0B:23:07:36,192.168.44.3
dhcp-option=119,sunnydale
domain-needed
expand-hosts
domain=sunnydale
log-async=5
log-queries
all-servers
mx-host=pebble.org.uk,snowdrift.snowplains.org,50
(That last line was added because the records returned by dnsmasq didn't
seem to include the MX otherwise, perhaps related to this problem?)
dnsmasq's log from those queries:
Sun, 2008-07-20 20:46:27 - forwarded www.mozilla.org to 195.74.113.58
Sun, 2008-07-20 20:46:27 - forwarded www.mozilla.org to 195.74.113.62
Sun, 2008-07-20 20:46:27 - reply www.mozilla.org is <CNAME>
Sun, 2008-07-20 20:46:27 - reply www-mozilla-org.geo.mozilla.com is
<CNAME>
Sun, 2008-07-20 20:46:27 - reply www-mozilla-org.glb.mozilla.com is
63.245.213.14
Sun, 2008-07-20 20:46:32 - cached www.mozilla.org is <CNAME>
Sun, 2008-07-20 20:46:32 - cached www-mozilla-org.geo.mozilla.com is
<CNAME>
Sun, 2008-07-20 20:46:32 - forwarded www.mozilla.org to 195.74.113.58
Sun, 2008-07-20 20:46:32 - forwarded www.mozilla.org to 195.74.113.62
Sun, 2008-07-20 20:46:32 - reply www.mozilla.org is <CNAME>
Sun, 2008-07-20 20:46:32 - reply www-mozilla-org.geo.mozilla.com is
<CNAME>
Sun, 2008-07-20 20:46:32 - reply www-mozilla-org.glb.mozilla.com is
63.245.213.14
Sun, 2008-07-20 20:46:37 - cached www.mozilla.org is <CNAME>
Sun, 2008-07-20 20:46:37 - cached www-mozilla-org.geo.mozilla.com is
<CNAME>
Sun, 2008-07-20 20:46:37 - forwarded www.mozilla.org to 195.74.113.58
Sun, 2008-07-20 20:46:37 - forwarded www.mozilla.org to 195.74.113.62
Sun, 2008-07-20 20:46:37 - reply www.mozilla.org is <CNAME>
Sun, 2008-07-20 20:46:37 - reply www-mozilla-org.geo.mozilla.com is
<CNAME>
Sun, 2008-07-20 20:46:37 - reply www-mozilla-org.glb.mozilla.com is
63.245.213.12
Upgrading the firmware to the current version of dnsmasq isn't
straightforward, but I will if that's the problem. If I have a
configuration problem that'd be easier to fix though!
Any ideas?
Thanks,
Ainsley
More information about the Dnsmasq-discuss
mailing list