aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-09 11:11:04 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-09 11:11:04 +0100
commit4a6119c1a9ea22825c0952b730118268cf33f0ad (patch)
tree2a77df4d0cc774744140d8b4748b9a96934365bd /Makefile
parent64a120d9eb6ea7d5a2d3254401581cafadfde917 (diff)
downloaddns-4a6119c1a9ea22825c0952b730118268cf33f0ad.tar.gz
dns-4a6119c1a9ea22825c0952b730118268cf33f0ad.tar.bz2
support forwarders in unbound.conf
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 14655b4..1bca4ad 100644
--- a/Makefile
+++ b/Makefile
@@ -90,9 +90,16 @@ LFNETWORKS= \
10.0.0.0/8 \
198.18.0.0/15
+# All servers which run Unbound.
UNBOUND_SERVERS= \
witch.le-fay.org \
- turnera.le-fay.org
+ turnera.le-fay.org \
+ hemlock.eden.le-fay.org
+
+# Forwarder addresses for Unbound forwarders.
+UNBOUND_FORWARDERS= \
+ 2001:8b0:aab5:c401::1:3 \
+ 2001:8b0:aab5:c401::1:4
UNBOUND_PROCESS_FLAGS= \
-Dconfdir=/usr/local/etc/unbound \
@@ -102,6 +109,7 @@ UNBOUND_PROCESS_FLAGS= \
-Dlocal_zones="${ZONES}" \
-Ddn42_zones="${DN42_ZONES}" \
-Ddn42_master="${DN42_MASTER}"
+UNBOUND_PROCESS_FLAGS.hemlock.eden.le-fay.org= -Dforwarder=yes
UNBOUND_PROCESS_FLAGS.witch.le-fay.org= -Dtls=yes
UNBOUND_PROCESS_FLAGS.turnera.le-fay.org= -Dtls=yes