regression: failure to follow a referral (sometimes?)
Test case: www.automobile.fr. AAAA
, bisected to commit e7c5c102. (In particular, it works OK on 1.5.1.)
Interesting part from log:
[52590][iter] 'www.automobile.fr.' type 'AAAA' id was assigned, parent id 0
[52590][resl] => querying: '2a04:cb41:a516:3::3' score: 10 zone cut: 'automobile.fr.' m12n: 'WWW.automOBilE.fr.' type: 'AAAA' proto: 'udp'
[52590][iter] <= answer received:
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 52590
;; Flags: qr QUERY: 1; ANSWER: 0; AUTHORITY: 4; ADDITIONAL: 1
;; EDNS PSEUDOSECTION:
;; Version: 0; flags: ; UDP size: 1280 B; ext-rcode: Unused
;; QUESTION SECTION
www.automobile.fr. AAAA
;; AUTHORITY SECTION
www.automobile.fr. 600 NS ns1.p13.dynect.net.
www.automobile.fr. 600 NS ns2.p13.dynect.net.
www.automobile.fr. 600 NS ns3.p13.dynect.net.
www.automobile.fr. 600 NS ns4.p13.dynect.net.
[52590][iter] <= referral response, follow
[52590][ rc ] => stashing rank: 010, NS www.automobile.fr.
[40645][iter] 'www.automobile.fr.' type 'AAAA' id was assigned, parent id 0
[40645][plan] plan 'dns47-2.mobile.de.' type 'A'
[27333][iter] 'dns47-2.mobile.de.' type 'A' id was assigned, parent id 40645
[27333][ rc ] => rank: 001, lowest 000, A dns47-2.mobile.de.
[27333][ rc ] => satisfied from cache
[27333][iter] <= answer received:
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 27333
;; Flags: qr aa QUERY: 1; ANSWER: 0; AUTHORITY: 0; ADDITIONAL: 0
;; QUESTION SECTION
dns47-2.mobile.de. A
;; ANSWER SECTION
dns47-2.mobile.de. 86400 A 91.211.75.18
[27333][iter] <= rcode: NOERROR
[40645][iter] <= using glue for 'dns47-2.mobile.de.': '91.211.75.18'
[28159][iter] 'www.automobile.fr.' type 'AAAA' id was assigned, parent id 0
[28159][resl] => querying: '91.211.75.18' score: 10 zone cut: 'www.automobile.fr.' m12n: 'www.AutOMoBILe.fr.' type: 'AAAA' proto: 'udp'
On the last line kresd queries @dns47-2.mobile.de.
(again), despite getting referral for the www
zone to ns*.p13.dynect.net.
in the previous iteration step.
Another example: settings.services.mozilla.com. SOA
. This one also gets broken on that commit though the log looks different: mirror.nsc.liu.se. CNAME
.