it doesn't seem like a dns admin issue, as it works fine from the cloudflared service when using both cloudflared and quad9 upstream, but fails from pihole.
none of the cloudflared digs have the truncated message and all digs return an answer.
however from pihole, depending which upstream my cloudflared is pointing to (quad9 or cloudflare), it returns a little differently. with the "working" scenario currently being when using cloudflare as the upstream.
it appears to possibly be something between pihole and cloudflared, but why specifically "debian.org" i have no idea.
i just tried again, and when switching back to quad9 upstream, it is still broken - no answers returned.
as i mentioned, it appears to only affect "debian.org" - all other browsing works fine, regardless of upstream.
below are the digs from this morning, which appear to be the same.
CloudFlared Service - quad9 upstream
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12198
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 9bbd26246b7ec878 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 300 IN A 128.31.0.62
debian.org. 300 IN A 130.89.148.77
debian.org. 300 IN A 149.20.4.15
;; Query time: 220 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:19 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +dnssec debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +dnssec debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56266
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
; COOKIE: cefd207b8d67c2ad (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 295 IN A 128.31.0.62
debian.org. 295 IN A 130.89.148.77
debian.org. 295 IN A 149.20.4.15
debian.org. 295 IN RRSIG A 8 2 300 20220530001838 20220419231838 27360 debian.org. VjvoC+gsfqRWMp+JC9CyGzm0uy6aQQNvwT16kq+GVDIMsfNt0rQ5cGFv M2wmHTJd5mcUvvuc9NZznj88GAQO8RX5j/2r2TuiE+9pvPZ7Q6Ld0DWN Q8dFbuQNyoCH0pnWRE9QBxKD8l2Dak5m7CdzFVEVoZ/rrv1ps/dVdJgk hwQd1TuIbzzpsSV774Vzz/YG3ApwmZzAuV3Hzrjl6lK7s9pDef/Mftn9 OYJTL//FwKjctKgn9CeIyPZ69Nz0J0jO
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:24 EDT 2022
;; MSG SIZE rcvd: 373
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +notcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +notcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40104
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: f822aec6d57293e7 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 291 IN A 128.31.0.62
debian.org. 291 IN A 130.89.148.77
debian.org. 291 IN A 149.20.4.15
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:29 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +tcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +tcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13602
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: a47943477a296282 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 286 IN A 128.31.0.62
debian.org. 286 IN A 130.89.148.77
debian.org. 286 IN A 149.20.4.15
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:34 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $
Pihole Service - cloudflared service upstream using quad9
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24695
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 132 IN A 128.31.0.62
debian.org. 132 IN A 149.20.4.15
debian.org. 132 IN A 130.89.148.77
;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:42 EDT 2022
;; MSG SIZE rcvd: 87
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +dnssec debian.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +dnssec debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 21969
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; COOKIE: 3a2f3ea308c9303c (echoed)
; EDE: 9 (DNSKEY Missing)
;; QUESTION SECTION:
;debian.org. IN A
;; Query time: 20 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:51 EDT 2022
;; MSG SIZE rcvd: 57
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +notcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +notcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34838
;; flags: qr aa tc rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: e452c5460112aad1 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 262 IN A 128.31.0.62
debian.org. 262 IN A 130.89.148.77
debian.org. 262 IN A 149.20.4.15
;; Query time: 16 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:24:57 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +tcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +tcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41181
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 1d48c7fd7d6821f5 (echoed)
; EDE: 9 (DNSKEY Missing)
;; QUESTION SECTION:
;debian.org. IN A
;; Query time: 20 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:25:03 EDT 2022
;; MSG SIZE rcvd: 57
pi@raspbian-5:~ $
next set
CloudFlared Service - cloudflare upstream
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50078
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: a39fd864563b6a22 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 300 IN A 128.31.0.62
debian.org. 300 IN A 130.89.148.77
debian.org. 300 IN A 149.20.4.15
;; Query time: 76 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:52:34 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +dnssec debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +dnssec debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6415
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
; COOKIE: f4b9d8e2ebcb81ec (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 296 IN A 128.31.0.62
debian.org. 296 IN A 130.89.148.77
debian.org. 296 IN A 149.20.4.15
debian.org. 296 IN RRSIG A 8 2 300 20220530001838 20220419231838 27360 debian.org. VjvoC+gsfqRWMp+JC9CyGzm0uy6aQQNvwT16kq+GVDIMsfNt0rQ5cGFv M2wmHTJd5mcUvvuc9NZznj88GAQO8RX5j/2r2TuiE+9pvPZ7Q6Ld0DWN Q8dFbuQNyoCH0pnWRE9QBxKD8l2Dak5m7CdzFVEVoZ/rrv1ps/dVdJgk hwQd1TuIbzzpsSV774Vzz/YG3ApwmZzAuV3Hzrjl6lK7s9pDef/Mftn9 OYJTL//FwKjctKgn9CeIyPZ69Nz0J0jO
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:52:39 EDT 2022
;; MSG SIZE rcvd: 373
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +notcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +notcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45586
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 0a56af6b4995c619 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 291 IN A 128.31.0.62
debian.org. 291 IN A 130.89.148.77
debian.org. 291 IN A 149.20.4.15
;; Query time: 4 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:52:43 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 5053 +tcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 5053 +tcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21612
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: aa1f3ae6c39e7b72 (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 287 IN A 128.31.0.62
debian.org. 287 IN A 130.89.148.77
debian.org. 287 IN A 149.20.4.15
;; Query time: 4 msec
;; SERVER: 127.0.0.1#5053(127.0.0.1)
;; WHEN: Fri Apr 29 08:52:48 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $
Pihole Service - cloudflared service upstream using cloudflare
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 debian.org
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47995
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 47717554551a865e (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 265 IN A 128.31.0.62
debian.org. 265 IN A 130.89.148.77
debian.org. 265 IN A 149.20.4.15
;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:53:10 EDT 2022
;; MSG SIZE rcvd: 129
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +dnssec debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +dnssec debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51563
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; COOKIE: e728df939363f58d (echoed)
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 260 IN A 128.31.0.62
debian.org. 260 IN A 130.89.148.77
debian.org. 260 IN A 149.20.4.15
debian.org. 260 IN RRSIG A 8 2 300 20220530001838 20220419231838 27360 debian.org. VjvoC+gsfqRWMp+JC9CyGzm0uy6aQQNvwT16kq+GVDIMsfNt0rQ5cGFv M2wmHTJd5mcUvvuc9NZznj88GAQO8RX5j/2r2TuiE+9pvPZ7Q6Ld0DWN Q8dFbuQNyoCH0pnWRE9QBxKD8l2Dak5m7CdzFVEVoZ/rrv1ps/dVdJgk hwQd1TuIbzzpsSV774Vzz/YG3ApwmZzAuV3Hzrjl6lK7s9pDef/Mftn9 OYJTL//FwKjctKgn9CeIyPZ69Nz0J0jO
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:53:15 EDT 2022
;; MSG SIZE rcvd: 373
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +notcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +notcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9453
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 256 IN A 149.20.4.15
debian.org. 256 IN A 130.89.148.77
debian.org. 256 IN A 128.31.0.62
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:53:19 EDT 2022
;; MSG SIZE rcvd: 87
pi@raspbian-5:~ $ dig @127.0.0.1 -p 53 +tcp +ignore debian.org
; <<>> DiG 9.16.27-Debian <<>> @127.0.0.1 -p 53 +tcp +ignore debian.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53487
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;debian.org. IN A
;; ANSWER SECTION:
debian.org. 251 IN A 128.31.0.62
debian.org. 251 IN A 149.20.4.15
debian.org. 251 IN A 130.89.148.77
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 29 08:53:24 EDT 2022
;; MSG SIZE rcvd: 87
pi@raspbian-5:~ $