Icuc
December 7, 2018, 3:53pm
1
Hi guys I'm new to Pi hole and Raspberry Pi as well. This is a great community and i will be contributing once my setup is up and running.
I installed the Pi Hole last night and it working fine but stopped working this morning. I have no clue what went wrong.
Here is my setup.
Raspberry Pi 3 B+ It was connected via Ethernet and Wifi. I'm using the WiFi IP for running WebCore on my Smartthings to broadcast on the Google home.
Installed Pi Hole with Static IP of my Raspberry Pi.
Router - Google WiFi and set the primary DNS as my Raspberry pi IP and secondary as 8.8.4.4.
I have reserved the IP for the raspberry pi as well so the router will not assign this to any other devices.
It was working fine and i was so happy that I was able to block some site and worked awesome. I checked slickdeals.net and no ads at all.
It is not working now and when i checked the DNS ip on my laptop it shows
192.168.86.1 but this is not my Raspberry pi IP.
How do I fix this issue? Am I missing anything?
Thanks guys.
jfb
December 7, 2018, 3:56pm
2
The Pi-Hole should be the only DNS listed. Having a secondary here allows some of your DNS traffic to bypass Pi-Hole.
Reduced Ad Blocking Capability
The main reason you should Pi-hole as your only DNS server is that you will see increased performance in the blocking of ads.
If you have two DNS servers (Pi-hole and something else), your network clients may not always query Pi-hole for name resolution. If a query happens to be answered from a non-Pi-hole DNS server, your block lists will not apply (since that DNS server doesn't know about them).
All Queries Need To Go Through Pi-hole First
Since other DNS se…
jfb
December 7, 2018, 3:57pm
3
Please send us the token generated by
pihole -d
or do it through the Web interface:
Method 1: Generate a debug token via the Web interface
Log in to your Pi-hole's Web interface
Navigate to Tools > Generate debug log
Click the Generate debug log button
Send us the debug token
[debug]
Method 2: Use the command line to generate a debug token
Login into your Pi-hole's command line
Enter pihole -d
Provide us with the debug token that is generated after the debug script completes
Alternative: Securely sending us additional information
Preferred Method
If there is additi…
Icuc
December 7, 2018, 4:02pm
4
Thanks for the quick response. I have removed the secondary DNS from the router.
I will get back to you guys once i get home this evening with the token.
jfb
December 7, 2018, 4:05pm
5
You should reboot the router and renew the DHCP lease on clients to ensure this change passes to all the clients.
Icuc
December 8, 2018, 12:21am
6
It is still not working. I have removed the secondary DNS on the router.
I did reboot the router and release, renew and flushDNS on the client laptop.
Debug token is: vjlyokblf8
jfb
December 8, 2018, 12:27am
7
Your gravity list is empty. Run the following command to rebuild gravity. After rebuild you should have approximately 130K domains on blocklist.
pihole -g -f
1 Like
Icuc
December 8, 2018, 12:49am
8
Yeah, It worked for blocking ads. Do I need to do this everytime? Yeah I remember seeing the gravity list last night but it was wiped out. What was the reason?
I have added the youtube to the blacklist but it is not blocking. Do I need to wait for sometime to work? I was trying to get the debug log but web interface is not loading now.
Icuc
December 8, 2018, 12:52am
9
I had to reboot my Pi to get the log again. My blacklist is working now.
debug token is: ivjkj1b9yl
jfb
December 8, 2018, 12:54am
10
It's hard to say. During a gravity update, something must have not worked properly and the list became corrupt. If it happens again, update gravity again.
yubiuser
Split this topic
July 3, 2020, 7:15pm
11
A post was split to a new topic: Pihole not blocking ads