Changeset 13911 in hybrid
- Timestamp:
- Jun 13, 2017, 8:18:57 AM (7 years ago)
- Location:
- branches/releng-11/nanobsd/files
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/etc/crontab
r13768 r13911 4 4 # 5 5 SHELL=/bin/sh 6 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin 6 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin 7 7 HOME=/var/log 8 8 # … … 31 31 # Write updates for ntp.drift to flash 32 32 0 12 * * * root /tools/store-ntpdrift 33 #34 33 # Nagios checks 35 34 */15 * * * * root /tools/check-inet-alive … … 37 36 */15 * * * * root /tools/nameserver-shuffle cron 38 37 # Autoritive zone file updater 39 0 * * * * root sleep `jot -r 1 900` && /tools/update-nsd-zones38 0 * * * * root /tools/update-nsd-zones cron -
branches/releng-11/nanobsd/files/tools/nameserver-shuffle
r13723 r13911 65 65 $verbose && echo "################################" 66 66 cat $NEWRESOLV > /etc/resolv.conf || exit 1 67 68 # Update unbound forwarders list 69 unbound-control forward $(grep 'nameserver' /etc/resolv.conf | grep -v '127.0.0.1' | awk '{print $2}' | tail -3 ) 67 70 fi -
branches/releng-11/nanobsd/files/tools/update-nsd-zones
r13768 r13911 1 1 #!/bin/sh 2 2 # 3 # Update local autoritive DNS server3 # Rick van der Zwet <info@rickvanderzwet.nl> 4 4 # 5 # Update local autoritive DNS server, by transfering zone files from master 6 # using HTTP protocol 7 # 8 9 # Avoid hammering source, sleep random delay 10 if [ "$1" = "cron" ]; then 11 sleep $(jot -r 1 900) 12 fi 13 14 # Fetch source files 5 15 fetch -T 5 -o /tmp/dns.tar.gz.enc http://wirelessleiden.nl/dns/latest.tar.gz.enc || exit 1 6 16 -
branches/releng-11/nanobsd/files/usr/local/etc/unbound/unbound.conf
r13908 r13911 6 6 # this is a comment. 7 7 8 # Use this to include other text into the file.8 # Bind to specific IP addresses & initial forward zones 9 9 include: "/usr/local/etc/unbound.wleiden.conf" 10 10
Note:
See TracChangeset
for help on using the changeset viewer.