No Internet Access


#1

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

Expected result

Internet should work when connected to home network using PiHole

Actual Behaviour:

No internet access through PiHole using Google’s DNS

Debug Token:

v4imzj9dfe


#2

dnsmasq should not be running. The required dnsmasq code is included in pihole-FTL, which runs in place of dnsmasq in version 4 of Pi-Hole.


#4

Yes, I realised that after I posted. My mistake.
Any ideas on how to get internet access working?


#5

Your debug log shows that Pi-Hole is working normally. The problem is likely in either the clients or the router.

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] dermadoctoraffiliates.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] dermadoctoraffiliates.com is 0.0.0.0 via Pi-hole (192.168.0.28)
[✓] doubleclick.com is 216.58.212.110 via a remote, public DNS server (8.8.8.8)

What is the specific problem you are experiencing? What clients are having the problem and how do you have your router configured to use Pi-Hole as DNS server?

What is the output of this command run from the Pi linux terminal:

echo ">stats" | nc localhost 4711


#7

The specific problem I am facing is that all 3 devices, that have their DNS settings set to the pi-hole’s IP address, do not have access to the internet.
How do I configure my router to use PiHole’s address? Do I have to port forward and turn off DHCP?

The output of

echo ">stats" | nc localhost 4711

is as follows:

domains_being_blocked 131192
dns_queries_today 463
ads_blocked_today 17
ads_percentage_today 3.671706
unique_domains 64
queries_forwarded 258
queries_cached 188
clients_ever_seen 3
unique_clients 3
dns_queries_all_types 471
reply_NODATA 9
reply_NXDOMAIN 0
reply_CNAME 0
reply_IP 12
status enabled
—EOM—


#8

How do I configure my router to use PiHole’s address? Do I have to port forward and turn off DHCP?

Just did that using this guide:

And it works really great!


#9

Thanks it works! But now it feels like it struggles to connect sometimes. There is a good solid connection for about an hour or two, then, out of nowhere, the pi-hole GUI stops working but the blocking is still active. I run pihole -r and it works for the next hour or so and then does the same thing again.
Whats going on?


#10

I’ve been using Pi-Hole (Wired RPi2 installed with ‘Stretch Lite’ on 8GB Samsung Evo+) for ~18 months without any issues like You described above.
Just switched the DHCP to Pi-Hole to easier administration of static IP assignments.


#11

Hi,

It looks like I’m going to purchase a 3rd party router as the current Virgin Media SH3 does not allow changing the DNS settings.

Thanks, I think my problem with connecting to the internet is resolved.


#12

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