No Internet Connection after configuring DNS to Pihole

Pi-hole configured on Raspberry pi and connected via wireless lan. Devices have no internet connection after pointing router DNS to pi-hole. Tried to manually change device DNS but get the same issue.

Expected Behaviour:

Devices connected to my Deco router should be able to access the internet.

Actual Behaviour:

DNS settings on the devices are changed but no internet connection is displayed

Debug Token:

https://tricorder.pi-hole.net/m8nUlzAV/

Your debug log shows that you are not distributing Pi-hole as local DNS server:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   
   * Received 300 bytes from wlan0:192.168.68.1
     DHCP options:
      Message type: DHCPOFFER (2)
      router: 192.168.68.1
      dns-server: 8.8.8.8
      --- end of options ---

If that's not a temporary precaution, then note that your clients would completely by-pass your Pi-hole via 8.8.8.8.

Your debug log also shows your Pi-hole to be fully operational, receiving, answering and blocking queries as expected:

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] ns.usvision.administrator.productions.net.zooplus.it is 0.0.0.0 on lo (127.0.0.1)
[✓] ns.usvision.administrator.productions.net.zooplus.it is 0.0.0.0 on eth0 (192.168.68.124)
[✓] ns.usvision.administrator.productions.net.zooplus.it is 0.0.0.0 on wlan0 (192.168.68.124)
[✓] doubleclick.com is 172.217.24.110 via a remote, public DNS server (8.8.8.8)

However, it would seem that you have assigned the very same IP address to both of your RPi's network interfaces.

This may cause routing issues: Your router may direct your client's DNS requests to your RPI's inactive eth0 interface, where Pi-hole never receives them.
Each NIC should have its own distinct IP address.

Thanks for checking. I generated a new log to reflect the DNS change on my router. Its now pointing to 192.168.68.124. Also changed the ip address of eth0 but still getting the same issue. Should I change anything on my router itself aside from the DNS change?

Below is the complete log

https://tricorder.pi-hole.net/z1yVJH8x/

eth0 (192.168.68.200)

After you changed the IP of the interface, did you run pihole -r and reconfigure Pi-hole to this new IP?

Why do you have two active interfaces on the Pi? Your post indicates " Pi-hole configured on Raspberry pi and connected via wireless lan", but you have Pi-hole configured for ethernet.

If you don't need to have two interfaces active, disable WiFi on the Pi and just use the ethernet interface.

Yes I did run reconfigure. I have connected my Pi via Wi-Fi. Would it be best if I use eth0 instead?

You appear to have connected the Pi by both ethernet and WiFi. If this is the case, ethernet is your preferred option for a DNS server.

That did it. Disabled eth0 interface instead as I wanted to use wifi and it worked! Thanks a lot :slight_smile:

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