From f6e9aa58da00e636e5bbac828b89ddde58a14a74 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 30 Apr 2024 20:30:15 +0300 Subject: [PATCH] unbound: add replace-systemd-resolved.conf.sample for listening on systemd-resolved ports --- .../replace-systemd-resolved.conf.sample | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/unbound/unbound.conf.d/replace-systemd-resolved.conf.sample diff --git a/etc/unbound/unbound.conf.d/replace-systemd-resolved.conf.sample b/etc/unbound/unbound.conf.d/replace-systemd-resolved.conf.sample new file mode 100644 index 00000000..6bc20d46 --- /dev/null +++ b/etc/unbound/unbound.conf.d/replace-systemd-resolved.conf.sample @@ -0,0 +1,12 @@ +# This file is only when one wants to replace systemd-resolved with unbound +# and to avoid having to mess up with resolv.conf or similar. + +server: +# Change to yes for 0.0.0.0 and :: +interface-automatic: no +interface: ::1@53 +interface: 127.0.0.1@53 +interface: 127.0.0.53@53 +interface: 127.0.0.54@53 + +# vim: filetype=unbound.conf