summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2016-03-30 01:41:25 +0000
committersthen <sthen@openbsd.org>2016-03-30 01:41:25 +0000
commite4afc0ca65eda19402e5764badf682d9f6199612 (patch)
tree07f7534f637573a59ccf9984e1573ae0dfc07274
parentsome oce(4) work, it appears (diff)
downloadwireguard-openbsd-e4afc0ca65eda19402e5764badf682d9f6199612.tar.xz
wireguard-openbsd-e4afc0ca65eda19402e5764badf682d9f6199612.zip
add "outgoing-interface" to sample unbound.conf
-rw-r--r--etc/unbound.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/unbound.conf b/etc/unbound.conf
index 2f405b18f7b..6e3d5ead53b 100644
--- a/etc/unbound.conf
+++ b/etc/unbound.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: unbound.conf,v 1.6 2015/12/15 20:26:55 sthen Exp $
+# $OpenBSD: unbound.conf,v 1.7 2016/03/30 01:41:25 sthen Exp $
server:
interface: 127.0.0.1
@@ -6,6 +6,11 @@ server:
interface: ::1
#do-ip6: no
+ # override the default "any" address to send queries; if multiple
+ # addresses are available, they are used randomly to counter spoofing
+ #outgoing-interface: 192.0.2.1
+ #outgoing-interface: 2001:db8::53
+
access-control: 0.0.0.0/0 refuse
access-control: 127.0.0.0/8 allow
access-control: ::0/0 refuse