SERVFAIL IPv6 debugging

Bruce Duncan Bruce.Duncan at ed.ac.uk
Wed Jan 18 12:31:32 UTC 2023


Hi bind-users,

Apologies if this is inappropriate for this list. I am trying to debug a 
failure to resolve an external name.

It appears that when I try to resolve the name ec.europa.eu over IPv6 
using either dig +trace or with a caching named that it sometimes fails:

[nimbus]root: dig -6 ec.europa.eu

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.10 <<>> -6 ec.europa.eu
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 29328
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ec.europa.eu.            IN    A

;; Query time: 13 msec
;; SERVER: ::1#53(::1)
;; WHEN: Wed Jan 18 12:09:35 GMT 2023
;; MSG SIZE  rcvd: 41

Sometimes I need to rndc flush and try again a few times before it 
fails. The named log says:

2023-01-18T12:09:35.145500+00:00 nimbus named[11833]: client 
@0x7f35e6fec700 ::1#35963 (ec.europa.eu): view internet: query failed 
(SERVFAIL) for ec.europa.eu/IN/A at ../../../bin/named/query.c:8580

Various posts on the web suggest that query.c:8580 is related to dnssec 
validation, however even with dnssec turned off in /etc/named.conf the 
query still fails. I've tried setting rndc trace 9 but I get no more 
information about why the query has failed. Query logging is enabled but 
there is no information there either.

I suspect there is some misconfiguration of the domain. dig -6 +trace 
sometimes complains that it can't find an address for some servers, but 
I don't understand why this would make the query fail completely sometimes.

Any help appreciated!

Thanks,

Bruce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x3D3BB36EBFD0445D.asc
Type: application/pgp-keys
Size: 3894 bytes
Desc: OpenPGP public key
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20230118/b05364d1/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20230118/b05364d1/attachment.sig>


More information about the bind-users mailing list