I'd like to clear the blacklist. I uploaded a tarball with three black list entries with the teleporter and selected blacklist (exact) and checked the box for clear existing data. It successfully uploaded.
When I go back to the blacklist, I still have all of the previous entries.
I rebooted my pi and ran pihole -g
How many do you have on your blacklist?
You can delete them one by one.
1 Like
Wipe everything and start from scratch. Consider this a learning experience.
2 Likes
Is there a file on the pi hole that I can delete instead?
I'm not super concerned because they're duplicated with my custom list. I figure dups can't hurt.
Hi, I had a similar problem, and asked in this thread
yubiuser was very helpfull and gave me this answer:
Which version are you using? You can easily delete multiple or all blacklist entirety via Sql on the command line in version v5.
https://docs.pi-hole.net/database/gravity/
To delete all exact blacklist
sudo sqlite3 /etc/pihole/gravity.db "delete from domainlist where type=1;"
2 Likes
jfb
June 23, 2020, 9:29pm
8
All the adlists and domain lists are kept in a single database at /etc/pihole/gravity.db . You can manipulate entries in that database from the command line as described in this section of the documentation.
https://docs.pi-hole.net/database/gravity/example/
1 Like
Hi jfb! Sorry for cross-posting, mind taking a look at this post?
The issue I am facing:
My raspberry pi is not applying to my searches and opendns is not working according to Welcome to OpenDNS! .
Details about my system:
I have my raspberry pi plugged into my router with eth0 set up. I have opendns selected under upstream DNS servers and the custom fields for ipv4 and ipv6 are empty.
I tried using the ip address in the URL for my admin console as the DNS server under the DNS Server as the DHCP server in my router. I also got the pi address from looking at…
Thank you!!
system
Closed
July 22, 2020, 12:22am
10
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.