rendered paste body#!/bin/bash# update-dlv.shOUT_DIR=${1}if [ "" = "${OUT_DIR}" ]then OUT_DIR=/etc/unboundficd ${OUT_DIR}wget 'http://ftp.isc.org/www/dlv/dlv.isc.org.key' --quiet -O ./dlv.isc.org.key.tmpif test 0 -ne $?then echo "Unable to update dlv.isc.org.key"else cmp ./dlv.isc.org.key ./dlv.isc.org.key.tmp >/dev/null if test 0 -ne $? then cp ./dlv.isc.org.key.tmp ./dlv.isc.org.key /usr/sbin/unbound-control reload fi rm -f ./dlv.isc.org.key.tmpfi#!/bin/bash# update-itar.shOUT_DIR=${1}if [ "" = "${OUT_DIR}" ]then OUT_DIR=/etc/unboundficd ${OUT_DIR}wget 'ftp://ftp.iana.org/itar/anchors.mf' --quiet -O ./anchors.mf.tmpif test 0 -ne $?then echo "Unable to update anchors.mf"else cmp ./anchors.mf ./anchors.mf.tmp >/dev/null if test 0 -ne $? then cp ./anchors.mf.tmp ./anchors.mf /usr/sbin/unbound-control reload fi rm -f ./anchors.mf.tmpfi#!/bin/bash# update-named.shOUT_DIR=${1}if [ "" = "${OUT_DIR}" ]then OUT_DIR=/etc/unboundficd ${OUT_DIR}wget 'http://internic.net/domain/named.cache' --quiet -O ./named.cache.tmpif test 0 -ne $?then echo "Unable to update named.cache"else cmp ./named.cache ./named.cache.tmp >/dev/null if test 0 -ne $? then cp ./named.cache.tmp ./named.cache /usr/sbin/unbound-control reload fi rm -f ./named.cache.tmpfi#!/bin/bash# update-trust.shOUT_DIR=${1}if [ "" = "${OUT_DIR}" ]then OUT_DIR=/etc/unboundficd ${OUT_DIR}wget 'http://secspider.cs.ucla.edu/trust-anchors.conf' --quiet -O ./trust-anchors.conf.tmpif test 0 -ne $?then echo "Unable to update trust-anchors.conf"else cmp ./trust-anchors.conf ./trust-anchors.conf.tmp >/dev/null if test 0 -ne $? then cp ./trust-anchors.conf.tmp ./trust-anchors.conf /usr/sbin/unbound-control reload fi rm -f ./trust-anchors.conf.tmpfi