[Dnsmasq-discuss] Authoritative PTR record resolution error messages

Toke Høiland-Jørgensen toke at toke.dk
Sun Apr 6 12:51:26 UTC 2014


Simon Kelley <simon at thekelleys.org.uk> writes:

> Sanity check: b7639d58158c6e971535893b407560e136a27994 and _not_
> 10068600f889338d942c7206c98e889bb3a17d57? I'd expect the later to
> cause this, if any.

root at guardian:~# opkg list | grep dnsmasq
dnsmasq-dhcpv6 - 2014-03-30-b7639d58158c6e971535893b407560e136a27994

Upgrading to 10068600f889338d942c7206c98e889bb3a17d57 fixes the error;
but instead I get this in the logs:

Apr 06 14:46:31 alrua-kau named[448]: success resolving 'x.x.x.0.7.4.0.1.0.0.2.ip6.arpa/PTR' (in 'x.x.x.x.0.7.4.0.1.0.0.2.ip6.arpa'?) after reducing the advertised EDNS UDP packet size to 512 octets


> Where is your laptop's record coming from? DHCP, /etc/hosts or other?
> Can you do the query with dig directly to dnsmasq, and see what it's
> actually replying to BIND?

This is with b7639d58158c6e971535893b407560e136a27994. IPv6 is fine:

$ dig -x  2001:470:xxx @2001:470:xxx

; <<>> DiG 9.9.2-P2 <<>> -x 2001:470:xxx @2001:470:xxx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21571
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. 0 IN PTR alrua-x1.xxx.xxx.

;; Query time: 12 msec
;; SERVER: 2001:470:xxxx#53(2001:470:xxx)
;; WHEN: Sun Apr  6 14:36:35 2014
;; MSG SIZE  rcvd: 140


But not IPv4:

$ dig -x  2001:470:xxx @5.150.x.x

; <<>> DiG 9.9.2-P2 <<>> -x 2001:470:xxx @5.150.x.x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45583
;; flags: qr aa rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. 600 IN PTR alrua-x1.xxx.xxx.

;; AUTHORITY SECTION:
x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. 600 IN NS xxx.xxx.

;; Query time: 11 msec
;; SERVER: 5.150.x.x#53(5.150.x.x)
;; WHEN: Sun Apr  6 14:36:41 2014
;; MSG SIZE  rcvd: 199


After upgrading to 10068600f889338d942c7206c98e889bb3a17d57, IPv4
appears to be fine as well:

$ dig -x  2001:470:xxx @5.150.221.33

; <<>> DiG 9.9.2-P2 <<>> -x 2001:470:xxx @5.150.x.x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44380
;; flags: qr aa rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. 600 IN PTR alrua-x1.xxx.xxx.

;; AUTHORITY SECTION:
x.x.x.0.7.4.0.1.0.0.2.ip6.arpa. 600 IN NS xxx.xxx.

;; Query time: 11 msec
;; SERVER: 5.150.x.x#53(5.150.x.x)
;; WHEN: Sun Apr  6 14:48:37 2014
;; MSG SIZE  rcvd: 199



-Toke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140406/ac4cea21/attachment.sig>


More information about the Dnsmasq-discuss mailing list