NXDOMAIN returned for AAAA DNS request

Hi there. I use Cloudflare to handle DNS for my domain which is hosted on a home server. I have an A record updated successfully using ddclient. I have proxying turned off. So far so good.

If I run % nslookup -querytype=A mydomain.com I get the correct IP4 address returned as expected.

if I run % nslookup -querytype=AAAA mydomain.com, I get the error:

** server can't find mydomain.com: NXDOMAIN

I would have expected this to return NOERROR with an empty Answer section (per RFC 4074 - Common Misbehavior Against DNS Queries for IPv6 Addresses section 3) since there is a valid A record.

Is it my understanding that’s wrong, or do I need to configure something in Cloudflare to enable this?

Thank you.

What is the domain?

I’m getting the expected response from dig…

dig not-proxied.sjr.org.uk a
; <<>> DiG 9.18.18-0ubuntu0.22.04.2-Ubuntu <<>> not-proxied.sjr.org.uk a
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47013
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;not-proxied.sjr.org.uk.		IN	A

;; ANSWER SECTION:
not-proxied.sjr.org.uk.	294	IN	A	192.0.2.1


dig not-proxied.sjr.org.uk aaaa
; <<>> DiG 9.18.18-0ubuntu0.22.04.2-Ubuntu <<>> not-proxied.sjr.org.uk aaaa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57794
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;not-proxied.sjr.org.uk.		IN	AAAA

;; AUTHORITY SECTION:
sjr.org.uk.		1722	IN	SOA	cash.ns.cloudflare.com. dns.cloudflare.com. 2334901987 10000 2400 604800 1800

Interesting. Tried your domain and got the same issue I was seeing with mine (NXDOMAIN for AAAA requests). Then tried bypassing my ISP’s DNS and going straight to Google’s 8.8.8.8 and got NOERROR for the AAAA request.

So, the problem is with my ISP not with Cloudflare.

Thank you, and apologies for the noise.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.