no internet after installing pi hole and changing dns

Please follow the below template, it will help us to help you!

Expected Behaviour:

stop ads and provide internet

Actual Behaviour:

after asking optimum to change DNS to the one pi-hole provided i no longer have internet access only access to pi-hole admin. However, if i change my computers dns to google it works. please help again no internet.

Debug Token:

nothing

Were you able to generate a debug log, but it would not upload, or were you not able to generate a debug log?

hey thanks for the quick response

Edited by moderator to remove the debug log link - debug log has been made private for developer review.

Your debug log shows a few problems:

There are multiple IP addresses assigned to the Pi, and it's not clear which is currently in use. Also, the pi can't ping the default gateway and cannot reach the internet.

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
192.168.1.15/24 matches the IP found in /etc/pihole/setupVars.conf
192.168.17.0/24 does not match the IP found in /etc/pihole/setupVars.conf (https27)

[i] Default IPv4 gateway: 192.168.1.1

  • Pinging 192.168.1.1...
    [✗] Gateway did not respond. (https)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve via localhost (127.0.0.1)
[✗] Failed to resolve via Pi-hole (192.168.1.15)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)

Your gravity list is empty:

*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 0 Dec 13 04:51 /etc/pihole/gravity.list
-----head of gravity.list------

-----tail of gravity.list------

After you get the IP addresses on the Pi sorted and get it connected to the internet, then run pihole -r and select reconfigure to get the Pi listening on the correct interface and IP.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.