aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--Makefile.inc.unbound1
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d731e12..9e30bc3 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@
### Our local master server.
MASTER= lily.le-fay.org
-MASTER_ADDR!= getaddrinfo -f inet6 -p tcp -t stream ${MASTER} \
+MASTER_ADDR!= set -o pipefail; \
+ getaddrinfo -f inet6 -p tcp -t stream ${MASTER} \
| awk '{ print $$4 }'
@@ -26,6 +27,8 @@ TTL= 1h
NAMESERVERS= ns1.le-fay.org \
ns2.le-fay.org \
ns3.le-fay.org
+NS_ADDRS!= set -o pipefail; \
+ getent hosts ${NAMESERVERS} | awk '{print $$1}'
### The DN42 master server.
diff --git a/Makefile.inc.unbound b/Makefile.inc.unbound
index db6f1fb..7dad766 100644
--- a/Makefile.inc.unbound
+++ b/Makefile.inc.unbound
@@ -8,6 +8,7 @@ UNBOUND_PROCESS_FLAGS?= \
-Dconfdir=/usr/local/etc/unbound \
-Dmaster="${MASTER}" \
-Dmaster_addr="${MASTER_ADDR}" \
+ -Dns_addrs="${NS_ADDRS}" \
-Dlocal_zones="${ZONES}" \
-Dinsecure_zones="${INSECURE_ZONES}" \
-Ddn42_zones="${DN42_ZONES}" \