Not getting replies from the internet when the router's DNS is Pi-hole

I want to be able to use the pi-hole across all devices on my wi-fi. If I manually point each device to look at the pi-hole it works, but I want the router to point to the pi-hole so that I don't have to do the manual work for each device.

Expected Behaviour:

If my router has its default DNS settings (e.g 8.8.8.8) then the Pi-hole works as its supposed to. For example if I ping the website www.lycamobile.se from the pi running Pi-hole then I get a successful response and this is the output from pi-hole's log:

Feb  1 15:52:40 dnsmasq[3240]: query[A] www.lycamobile.se from 127.0.0.1
Feb  1 15:52:40 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.220.220
Feb  1 15:52:40 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.222.222
Feb  1 15:52:40 dnsmasq[3240]: query[AAAA] www.lycamobile.se from 127.0.0.1
Feb  1 15:52:40 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.220.220
Feb  1 15:52:40 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.222.222
Feb  1 15:52:40 dnsmasq[3240]: reply www.lycamobile.se is <CNAME>
Feb  1 15:52:40 dnsmasq[3240]: reply sweden-website-68421484.eu-central-1.elb.amazonaws.com is NODATA-IPv6

Actual Behaviour:

If I set the router to point my pi's local IP address on the wi-fi network and then ping the same website the ping doesn't respond. The request gets sent out from my network but I never get a reply back to the Pi. Could it be that the router is blocking some of these DNS packets for security reasons? Below is output from the pi log.

Feb  1 15:44:21 dnsmasq[3240]: query[A] www.lycamobile.se from 127.0.0.1
Feb  1 15:44:21 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.220.220
Feb  1 15:44:21 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.222.222
Feb  1 15:44:21 dnsmasq[3240]: query[AAAA] www.lycamobile.se from 127.0.0.1
Feb  1 15:44:21 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.220.220
Feb  1 15:44:21 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.222.222
Feb  1 15:44:26 dnsmasq[3240]: query[A] www.lycamobile.se from 127.0.0.1
Feb  1 15:44:26 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.220.220
Feb  1 15:44:26 dnsmasq[3240]: forwarded www.lycamobile.se to 208.67.222.222

I'm using a pretty old and simple router called DLink Dil-810L. Is this a router issue or something I've set up?

Please send us the token generated by

pihole -d

or do it through the Web interface:

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