Error: error sending query: Could not send or receive, because of network error
Yeah... unless you're doing something funky with firewall rules yourself, I think your ISP is blocking it. I assume if you use the ISP gateway instead of 1.1.1.1 in that command, it works?
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 35085;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0;; QUESTION SECTION:;; google.com. IN A;; ANSWER SECTION:google.com. 161 IN A 172.217.28.110;; AUTHORITY SECTION:;; ADDITIONAL SECTION:;; Query time: 5 msec;; SERVER: 192.168.101.1;; WHEN: Fri Nov 8 10:54:31 2024;; MSG SIZE rcvd: 44
Have you tried DNS over HTTPS? https://homenetworkguy.com/how-to/configure-dns-over-https-dnscrypt-proxy-opnsense/