diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-09 12:47:31 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-09 12:47:31 +0100 |
| commit | de72072cc4ac7bf1cd940815228886d6f93e5b5f (patch) | |
| tree | d0f4c2038bcd459f88b4d87142cef0fa6db6a70f /Makefile.inc.unbound | |
| parent | 3c4424f0ad9458879b25bc9790689c10683fbd4a (diff) | |
| download | dns-de72072cc4ac7bf1cd940815228886d6f93e5b5f.tar.gz dns-de72072cc4ac7bf1cd940815228886d6f93e5b5f.tar.bz2 | |
cleanups
Diffstat (limited to 'Makefile.inc.unbound')
| -rw-r--r-- | Makefile.inc.unbound | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile.inc.unbound b/Makefile.inc.unbound index 7437149..2071b1a 100644 --- a/Makefile.inc.unbound +++ b/Makefile.inc.unbound @@ -1,18 +1,30 @@ # This source code is released into the public domain. -### Unbound configuration files. +# Unbound configuration files. + +UNBOUND_CONF_DIR?=/usr/local/etc/unbound +UNBOUND_CONF_FILE?=${UNBOUND_CONF_DIR}/unbound.conf +UNBOUND_PROCESS_FLAGS?= \ + -Dconfdir=/usr/local/etc/unbound \ + -Dmaster="${MASTER}" \ + -Dmaster_addr="${MASTER_ADDR}" \ + -Dlfnetworks="${LFNETWORKS}" \ + -Dlocal_zones="${ZONES}" \ + -Ddn42_zones="${DN42_ZONES}" \ + -Ddn42_master="${DN42_MASTER}" \ + -Dforwarders="${UNBOUND_FORWARDERS}" unbound: .PHONY: unbound .for server in ${UNBOUND_SERVERS} -unbound.conf.${server}: unbound.conf.erb +unbound.conf.${server}: Makefile unbound.conf.erb ${.CURDIR}/bin/process \ -Dservername=${server} \ ${UNBOUND_PROCESS_FLAGS} \ ${UNBOUND_PROCESS_FLAGS.${server}} \ - $> $@ + ${.CURDIR}/unbound.conf.erb $@ unbound: unbound-${server} unbound-${server}: unbound.conf.${server} |
