summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2016-01-23 15:21:15 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2016-01-23 15:21:15 +0100
commit3979a017b245c98d7a49eb354caf78c58bed30bb (patch)
tree27b99e58309b083f8e687c2d01100fe22d95727a /build.sh
parentc3243a0e55a8a2a8d9fba761e59a052868a9fd26 (diff)
downloadOpenBSD-firewall-3979a017b245c98d7a49eb354caf78c58bed30bb.tar.gz
OpenBSD-firewall-3979a017b245c98d7a49eb354caf78c58bed30bb.tar.bz2
added root.hints for unbound
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index ea54721..81aa938 100755
--- a/build.sh
+++ b/build.sh
@@ -330,6 +330,7 @@ fi
# when we run a DNS resolver
if test -d config/$HOSTNAME/unbound/; then
cp -R config/$HOSTNAME/unbound $MOUNTPOINT/etc/.
+ wget ftp://FTP.INTERNIC.NET/domain/named.cache -O config/$HOSTNAME/unbound/etc/root.hints
cp -R /usr/sbin/unbound $MOUNTPOINT/usr/sbin/.
cp -R /usr/sbin/unbound-{checkconf,control-setup,anchor,control,host} $MOUNTPOINT/usr/sbin/.
unbound-control-setup -d $MOUNTPOINT/etc/unbound/etc