summaryrefslogtreecommitdiff
path: root/config/obr/unbound/etc/unbound.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/obr/unbound/etc/unbound.conf')
-rw-r--r--config/obr/unbound/etc/unbound.conf56
1 files changed, 29 insertions, 27 deletions
diff --git a/config/obr/unbound/etc/unbound.conf b/config/obr/unbound/etc/unbound.conf
index e5b7d96..cd2d25f 100644
--- a/config/obr/unbound/etc/unbound.conf
+++ b/config/obr/unbound/etc/unbound.conf
@@ -2,6 +2,8 @@
server:
interface: 0.0.0.0
+ do-ip4: yes
+ do-udp: yes
do-ip6: no
access-control: 192.168.1.0/24 allow
@@ -10,11 +12,17 @@ server:
hide-identity: yes
hide-version: yes
+ num-threads: 1
+
+ private-address: 192.168.1.0/24
+ private-address: 127.0.0.0/8
+
+ private-domain: "lan"
local-zone: "lan." nodefault
- local-zone: "1.168.192.in-addr.arpa." nodefault
+ local-zone: "168.192.in-addr.arpa." nodefault
- verbosity: 3
+ verbosity: 2
root-hints: "/etc/root.hints"
@@ -24,35 +32,29 @@ remote-control:
stub-zone:
name: "lan."
- stub-addr: 127.0.0.1@8053
+ stub-addr: 192.168.1.1@8053
stub-zone:
name: "1.168.192.in-addr.arpa."
- stub-addr: 127.0.0.1@8053
+ stub-addr: 192.168.1.1@8053
-stub-zone:
- name: "andreasbaumann.cc"
- stub-addr: 127.0.0.1@8053
+#stub-zone:
+# name: "andreasbaumann.cc"
+# stub-addr: 127.0.0.1@8053
-stub-zone:
- name: "maschezuoz.ch"
- stub-addr: 127.0.0.1@8053
+#stub-zone:
+# name: "maschezuoz.ch"
+# stub-addr: 127.0.0.1@8053
-stub-zone:
- name: "bikecentum.com"
- stub-addr: 127.0.0.1@8053
+#stub-zone:
+# name: "bikecentum.com"
+# stub-addr: 127.0.0.1@8053
-stub-zone:
- name: "project-strus.net"
- stub-addr: 127.0.0.1@8053
-
-
-#
-#forward-zone:
-# name: "." # use for ALL queries
-# forward-addr: 74.82.42.42 # he.net
-# forward-addr: 2001:470:20::2 # he.net v6
-# forward-addr: 8.8.8.8 # google.com
-# forward-addr: 2001:4860:4860::8888 # google.com v6
-# forward-addr: 208.67.222.222 # opendns.com
-# forward-first: yes # try direct if forwarder fails
+#stub-zone:
+# name: "project-strus.net"
+# stub-addr: 127.0.0.1@8053
+
+forward-zone:
+ name: "."
+ forward-addr: 194.246.118.118
+ forward-addr: 212.25.28.55