doggo icon indicating copy to clipboard operation
doggo copied to clipboard

Feature Request: Print Extended DNS Errors (EDE)

Open ztheory opened this issue 1 year ago • 0 comments

EDE (Extended DNS Errors - RFC8914) are starting to work their way into major recursive DNS services, such as:

Cloudflare: https://developers.cloudflare.com/1.1.1.1/infrastructure/extended-dns-error-codes/

Google: https://developers.google.com/speed/public-dns/docs/troubleshooting/domains#edes

It would be nice if Doggo could report these in the results.

Test domain that should results in EDE 22 (No Reachable Authority): txt: noreply-watch-123456.go.dnscheck.tools

$ dig noreply-watch-123456.go.dnscheck.tools txt @1.1.1.1
;; communications error to 1.1.1.1#53: timed out

; <<>> DiG 9.18.16 <<>> noreply-watch-123456.go.dnscheck.tools txt @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 53260
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; EDE: 22 (No Reachable Authority): (time limit exceeded)
;; QUESTION SECTION:
;noreply-watch-123456.go.dnscheck.tools.	IN TXT

;; Query time: 1063 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Mon Jul 24 16:26:46 CEST 2023
;; MSG SIZE  rcvd: 92
$ dig noreply-watch-123456.go.dnscheck.tools txt @8.8.8.8

; <<>> DiG 9.18.16 <<>> noreply-watch-123456.go.dnscheck.tools txt @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 50354
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
; EDE: 22 (No Reachable Authority): (At delegation go.dnscheck.tools for noreply-watch-123456.go.dnscheck.tools/txt)
;; QUESTION SECTION:
;noreply-watch-123456.go.dnscheck.tools.	IN TXT

;; Query time: 1016 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Mon Jul 24 16:38:36 CEST 2023
;; MSG SIZE  rcvd: 151

ztheory avatar Jul 24 '23 14:07 ztheory