Today I updated Raspberry Pi OS (Raspbian 10) using the command "sudo apt update" followed by "sudo apt full-upgrade" and then I ran raspi-config and updated that as well. After those completed I ran "pihole -up" and it successfully updated the web interface, but failed to update FTL.
After that I verified the PiHole is able to resolve ns1.pi-hole.net using dig and nslookup, both resolved it as 185.136.96.96.
The updater script still failed to resolve ns1.pi-hole.net. I'm wondering if the compatibility list is working correct as my network configuration appears to be okay.
Here is my console output for reference.
pi@raspberrypi:~ $ sudo dig ns1.pi-hole.net
; <<>> DiG 9.11.5-P4-5.1+deb10u2-Raspbian <<>> ns1.pi-hole.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37484
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;ns1.pi-hole.net. IN A
;; ANSWER SECTION:
ns1.pi-hole.net. 632 IN A 185.136.96.96
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Feb 17 09:47:31 EST 2021
;; MSG SIZE rcvd: 60
pi@raspberrypi:~ $ dig ns1.pi-hole.net
; <<>> DiG 9.11.5-P4-5.1+deb10u2-Raspbian <<>> ns1.pi-hole.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7842
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;ns1.pi-hole.net. IN A
;; ANSWER SECTION:
ns1.pi-hole.net. 614 IN A 185.136.96.96
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Feb 17 09:47:49 EST 2021
;; MSG SIZE rcvd: 60
pi@raspberrypi:~ $ nslookup ns1.pi-hole.net
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: ns1.pi-hole.net
Address: 185.136.96.96
Name: ns1.pi-hole.net
Address: 2a06:fb00:1::1:96
pi@raspberrypi:~ $ pihole -up
[i] Checking for updates...
[i] Pi-hole Core: up to date
[i] Web Interface: up to date
[i] FTL: update available
[i] FTL out of date, it will be updated by the installer.
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
[✓] Update local cache of available packages
[i] Existing PHP installation detected : PHP version 7.3.19-1~deb10u1
[i] Performing unattended setup, no whiptail dialogs will be displayed
[✓] Checking apt-get for upgraded packages... up to date!
[i] Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
[✓] Checking for dnsutils
[✗] Retrieval of supported OS list failed. dig failed with return code 9.
Unable to determine if the detected OS (Raspbian 10) is supported
Possible causes for this include:
- Firewall blocking certain DNS lookups from Pi-hole device
- ns1.pi-hole.net being blocked (required to obtain TXT record from versions.pi-hole.net containing supported operating systems)
- Other internet connectivity issues
https://docs.pi-hole.net/main/prerequesites/#supported-operating-systems
If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:
e.g: If you are seeing this message on a fresh install, you can run:
curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash
If you are seeing this message after having run pihole -up:
PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -r
(In this case, your previous run of pihole -up will have already updated the local repository)
It is possible that the installation will still fail at this stage due to an unsupported configuration.
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
Unable to complete update, please contact Pi-hole Support
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
fyi: the Raspberry pi is using my gateway (192.168.1.1) for its own upstream DNS to avoid filtering, while still providing filtering for all other devices on the lan.