Initial import

This commit is contained in:
2017-02-21 02:35:57 +01:00
commit d06a79e353
16 changed files with 2117 additions and 0 deletions

14
update_djbdns_roots.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
if [ -f /etc/dnsroots.global ] ; then
if [ ! -f /etc/dnsroots.global.ORIG ] ; then
cp /etc/dnsroots.global /etc/dnsroots.global.ORIG
fi
fi
dnsip `dnsqr ns . | awk '/answer:/ { print $5; }' |sort` > /etc/dnsroots.global
cp /etc/dnsroots.global /service/dnscache/root/servers/@
svc -du /service/dnscache