From 76d4ed352f0574e935dbe9a12071392f6fc87895 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 29 Dec 2014 12:10:20 +0200 Subject: [PATCH] make unbound files more clear --- etc/unbound/unbound.conf.d/alone.conf | 21 +++++++++++++++++++ .../{mikaela.conf => dnsmasq.conf} | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 etc/unbound/unbound.conf.d/alone.conf rename etc/unbound/unbound.conf.d/{mikaela.conf => dnsmasq.conf} (93%) diff --git a/etc/unbound/unbound.conf.d/alone.conf b/etc/unbound/unbound.conf.d/alone.conf new file mode 100644 index 00000000..168b3de9 --- /dev/null +++ b/etc/unbound/unbound.conf.d/alone.conf @@ -0,0 +1,21 @@ +# When there is no dnsmasq + +server: + # perform cryptographic DNSSEC validation using the root trust anchor. + # this should be in /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf + # auto-trust-anchor-file: "/var/lib/unbound/root.key" + interface: 127.0.0.1 + access-control: 127.0.0.0/8 allow + interface: ::1 + access-control: ::1 allow + port: 53 + # logging + chroot: "" + use-syslog: yes + log-time-ascii: yes + log-queries: yes + # 0 - 5, default 1, query information 3 + verbosity: 1 + # more cache memory, rrset=msg*2 + rrset-cache-size: 500m + msg-cache-size: 250m diff --git a/etc/unbound/unbound.conf.d/mikaela.conf b/etc/unbound/unbound.conf.d/dnsmasq.conf similarity index 93% rename from etc/unbound/unbound.conf.d/mikaela.conf rename to etc/unbound/unbound.conf.d/dnsmasq.conf index a73d7c13..b3e4ca81 100644 --- a/etc/unbound/unbound.conf.d/mikaela.conf +++ b/etc/unbound/unbound.conf.d/dnsmasq.conf @@ -1,3 +1,5 @@ +# For use when unbound is behind dnsmasq + server: # perform cryptographic DNSSEC validation using the root trust anchor. # this should be in /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf