unbound: Move "listen on all" to main configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2016-10-12 22:37:26 +01:00
parent b06187f5b6
commit 1b4d5ad9af
2 changed files with 4 additions and 5 deletions

View File

@@ -61,11 +61,13 @@ server:
harden-algo-downgrade: no
use-caps-for-id: no
# Listen on all interfaces
interface: 0.0.0.0
# Deny access from everywhere
access-control: 0.0.0.0/0 refuse
# Listen on localhost
interface: 127.0.0.1
# Allow access from localhost
access-control: 127.0.0.0/8 allow
# Bootstrap root servers