Changeset 13911 in hybrid for branches/releng-11/nanobsd/files/tools/update-nsd-zones
- Timestamp:
- Jun 13, 2017, 8:18:57 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.