Hello all,
pihole -up fails to upgrade on my Ubuntu 18.04 LTS server. I found a thread discussing the issue, and someone mentioned it was a dig error, they asked for some dig commands to be ran, I've done so here;
dig +short -t txt versions.pi-hole.net
"Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
pe or paste code here
dig +noall +answer -t txt versions.pi-hole.net
versions.pi-hole.net. 39 IN TXT "Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
dig +short +nocomments -t txt versions.pi-hole.net
"Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
dig +short +nocookie -t txt versions.pi-hole.net
"Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
The other thread mentioned a "bad" dns server, looked like some Microsoft dns server, the guy removed it I guess and it fixed it. Problem is, my upstream DNS is my firewall. There was one more command they ran to get to that;
dig -t txt versions.pi-hole.net
; <<>> DiG 9.11.3-1ubuntu1.12-Ubuntu <<>> -t txt versions.pi-hole.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56222
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;versions.pi-hole.net. IN TXT
;; ANSWER SECTION:
versions.pi-hole.net. 22 IN TXT "Raspbian=9,10 Ubuntu=16,18,20 Debian=9,10 Fedora=31,32 CentOS=7,8"
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 20 00:24:58 EDT 2020
;; MSG SIZE rcvd: 127
not sure why it's the loopback? Anyways, in piHole, my upstream dns is set to Custom, and going to my firewall at 192.168.1.1#853
DNS is blocked on the firewall, to prevent leaking. As I want everyone on my network to go through my pihole.
Thanks for the help