-
Notifications
You must be signed in to change notification settings - Fork 8
3 : Installation
Chris Buijs edited this page Dec 15, 2017
·
4 revisions
Install and configure:
-
Copy dns-firewall.py to unbound directory.
-
If needed, change "intercept_address" in dns-firewall.py.
Note: If left empty it will respond with "REFUSED" instead of the redirected IP.
-
Change unbound.conf as follows:
server: chroot: "" module-config: "python validator iterator"
python: python-script: "/unbound/directory/dns-firewall.py"
-
Create the black/whitelists as desired (filenames can be modified).
-
Restart unbound.