Comments for Pi-hole v5
See original GitHub issuePi-hole v5 allows to add comments. The following command is not documented yet but works 😉 See: https://github.com/pi-hole/pi-hole/commit/15a9d662ac5e1aab12a7c025a48d75971b3687f0
pihole -w "test.com" --comment "Test comment"
I could add such functionality if there is interest.
We would just need to add comments to the whitelist.txt
file, too.
What do you think?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Pi-hole v5.0 is here! : r/pihole - Reddit
1.8K votes, 494 comments. ... "The Pi-hole® is a DNS sinkhole that protects your devices from unwanted ... r/pihole - Pi-hole v5.0 is...
Read more >Pi-hole v5.0 is here!
Improved debug log that shows your blocklists and groups in a tabular format, including comments and enable/disable status. Slightly changed ...
Read more >Add comments to domains on the CLI - Pi-hole Userspace
Problem with Beta 5.0: I was messing around with the sqlite db, but noticed there was no whitelist table. Does anyone have any...
Read more >Overview - Pi-hole documentation
The comment field is optional and can be empty. Pi-hole's FTL DNS reads the tables through the various view, omitting any disabled domains....
Read more >Pi-hole FTL v5.18.2, Web v5.16 and Core v5.13 released
Pi-hole FTL v5.18.2, Web v5.16 and Core v5.13 released. Adam Warner 2022-10-10 Updates 0. As always, please read through the changelog ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve figured out how to modify the script to incorporate the --comment field to all the whitelist domains.
modify the whitelist.sh script and add "–comment “anudeepND/whitelist” in the following line as shown below and execute the script to have all top the whitelisted domains from the script imported with a comment of “anudeepND/whitelist”
${GRAVITY_UPDATE_COMMAND} $(cat /etc/pihole/whitelist.txt | xargs) --comment "anudeepND/whitelist" > /dev/null
Can’t wait to test it out! Thanks!