I am executing sudo python3 whitelist.py and am seeing
This script will download and add domains from the repo to whitelist.
All the domains in this list are safe to add and does not contain any tracking or adserving domains.
[i] Pi-hole path exists
[i] Write access to /etc/pihole verified
[X] URL Error: [Errno 110] Connection timed out whilst fetching https://raw.githubusercontent.com/anudeepND/whitelist/master/domains/whitelist.txt
I select the two suggested blacklist items on install they had the same issue.
There are many posts on this and I have tried most of them. My timezone is correct and my network is as simple as it gets. I have the same issue with blocklists
pi@raspberrypi:~/whitelist/scripts $ pihole -g
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[✗] Status: Connection Refused
[✗] List download failed: using previously cached list
[i] Received 59725 domains
[i] Target: https://mirror1.malwaredomains.com/files/justdomains
[✗] Status: Connection Refused
[✗] List download failed: using previously cached list
[i] Received 26854 domains
[✓] Storing downloaded domains in new gravity database
[✓] Building tree
[✓] Swapping databases
[i] Number of gravity domains: 86579 (86541 unique domains)
[i] Number of exact blacklisted domains: 1
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 0
[i] Number of regex whitelist filters: 0
[✓] Flushing DNS cache
[✓] Cleaning up stray matter
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
I don't know how you could add it - it fails for me via web interface. Did you add it via directly SQL injection?
Delete that entry and see if it resolves the issue.
I added nothing. I can see the file whitelist.txt and list.0.raw.githubusercontent.com.domains and list.1.mirror1.malwaredomains.com.domains in /etc/pihole where the last two look OK but the first one is empty. I am not sure where the blacklist goes and I also don't know where and how to delete the row you indicated.
BTW, when the log was done it asked whether I wanted to upload and I said yes but it failed.
That command doesn't work because it needs more information. My problem is simply the network. I cannot get out from the server to anywhere; google, gihhub, etc. I have static IP addresses for etho and wlan0. I can ping it from and to the server but that doesn't prove a lot. SSH is enabled on the pihole server.
I just went ahead and rebuilt the entire thing one more time and now all is ok. I must have missed or included something that messed it up. Thanks for all the help and patience.
It is obvious that I will need help in the coming weeks with networks and making this work so please watch out for me