mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
unbound: Move "listen on all" to main configuration file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -148,9 +148,6 @@ write_interfaces_conf() {
|
||||
(
|
||||
config_header
|
||||
|
||||
echo "# bound to all interfaces"
|
||||
echo "interface: 0.0.0.0"
|
||||
|
||||
# 1.1.1.1 is reserved for unused green
|
||||
if [ -n "${GREEN_ADDRESS}" -a "${GREEN_ADDRESS}" != "1.1.1.1" ]; then
|
||||
echo "# allow access from GREEN"
|
||||
|
||||
Reference in New Issue
Block a user