I unfortunately cannot recreate the error you get.
The ; EDNS: version: 0, flags:; udp: 1232
would indicate the one of the DNS services your FW is speaking to has maybe a wrong UDP size limit set. No way for me to check or prove this, but if you Google it, Cloudflare keeps coming up as having problems since September 2020. May be unrelated, maybe not.
Edit UPDATE: every dig +dnssec www.wikipedia.org @IP_OF_DNS_SERVER
Returns contain
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 512
only Cloudflare returns with
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
If no DNS server is defined, the FW will operate in Recursor Mode. For a lack of a better description its own DNS server.
In recursive the FW will first try to resolve any DNS queries via a root nameserver
, then via a TLD nameserver
, and lastly via an authoritative nameserver
, before returning the results.
Which nameservers those are has to do with which ISP you are using, and I don’t mean the assigned DNS servers the ISP owns, but rather the authorative nameservers
they connect to.
To have some measure of control, you can define which nameservers your FW will use. You do this from within the Web GUI, under the Networking > Domain Name System. Although you still have no clue which authorative nameservers
those DNS servers connect to, and this now turns into a trust game. Who do you trust more?
The DNS roulette… 007, coming to a cinema near you… sorry getting side tracked… would make a nice movie title. 
So… from where I am sitting, one of these seem to be the problem. And I am only talking about the FW.
You said you are using quad9 and openDNS on the FW. Has this changed?
If not, then one of those DNS entries are causing it.
If you are in Recursor Mode then a DNS server your FW has decided to talk to, as outside DNS authorative server
, is causing this. And that has most likely something to do with your ISP.
The above mentioned will effect all DNS related queries, that includes dig
.
Sorry mate, maybe someone else has a better solution.