unbound: add replace-systemd-resolved.conf.sample for listening on systemd-resolved ports

This commit is contained in:
Aminda Suomalainen 2024-04-30 20:30:15 +03:00
parent 4882cb66be
commit f6e9aa58da
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 12 additions and 0 deletions

View File

@ -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