#764 Anon Comment 764 Actually you do not need to edit the blacklist. When you download the blacklist you can specify the path to any zone file you want directly into the download URL. Add this to the download URL: ;zonefilename=[path_to_the_file] For example, if your zone file is at /etc/bind/null.zone.file, you can do like this: sudo wget -O /etc/bind/ad-blacklist 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=bindconfig;showintro=0;zonefilename=/etc/bind/null.zone.file' Also.. the null.zone.file sample file can be downloaded directly at https://pgl.yoyo.org/adservers/null.zone.file Useful info for those willing to automate the blacklist update process. Good luck. :) Thank you. url:How to make an adblocker with BIND and Apache on Debian 2016-04-17
Actually you do not need to edit the blacklist.
When you download the blacklist you can specify the path to any zone file you want directly into the download URL. Add this to the download URL:
;zonefilename=[path_to_the_file]
For example, if your zone file is at /etc/bind/null.zone.file, you can do like this:
sudo wget -O /etc/bind/ad-blacklist 'https://pgl.yoyo.org/adservers/serverlist.php?hostformat=bindconfig;showintro=0;zonefilename=/etc/bind/null.zone.file'
Also.. the null.zone.file sample file can be downloaded directly at https://pgl.yoyo.org/adservers/null.zone.file
Useful info for those willing to automate the blacklist update process.
Good luck. :)
Thank you.