| 1 | # Configuration file __SAMPLE__ for slavedns |
|---|
| 2 | # this file (called slavedns.conf) WILL ALWAYS BE IGNORED by the cron task. |
|---|
| 3 | # |
|---|
| 4 | # in this directory, you must put one file for each master dns server you wish to synchronize from. |
|---|
| 5 | # Each file contains shell variables and shell syntax must be correct. |
|---|
| 6 | |
|---|
| 7 | # you must set this or the full URL below |
|---|
| 8 | PROTOCOL=https |
|---|
| 9 | HOST=10.0.0.1 |
|---|
| 10 | |
|---|
| 11 | # Hostname http[s] of the master dns server, notice how it defaults to alternc setup |
|---|
| 12 | #URL=${PROTOCOL}://${HOST}/admin/domlist.php |
|---|
| 13 | |
|---|
| 14 | # IP Address of the master dns server, defaults to the contacted host |
|---|
| 15 | MASTERIP=${HOST} |
|---|
| 16 | |
|---|
| 17 | # Login of the slave to connect to the server (the primary dns administrator will give it to you.) |
|---|
| 18 | # optional |
|---|
| 19 | LOGIN=myaccount |
|---|
| 20 | |
|---|
| 21 | # Password of the slave to connect to the server |
|---|
| 22 | # optional |
|---|
| 23 | PASSWORD=mypass |
|---|
| 24 | |
|---|
| 25 | # That's all. at most one hour after you put a new file in this directory, |
|---|
| 26 | # slavedns will try to synchronize it's domain list |
|---|
| 27 | # you may launch manually the synchronization with "/usr/sbin/slavedns" |
|---|
| 28 | |
|---|
| 29 | # you can override the default config with those settings |
|---|
| 30 | # those are provided as examples and do not reflect the default values |
|---|
| 31 | # CACHEDIR=/var/spool/slavedns |
|---|
| 32 | # BINDDIR=/etc/namedb/slavedns |
|---|
| 33 | # BINDINCLUDE=/etc/namedb/slavedns.conf |
|---|
| 34 | # WGETFLAGS="--no-check-certificate" |
|---|
| 35 | #NAMED="/usr/pkg/etc/rc.d/named9 restart" # BIND9 on NetBSD |
|---|
| 36 | #NAMED="/etc/rc.d/named restart" # BIND8 on NetBSD/OpenBSD |
|---|
| 37 | #NAMED="ndc restart" # generic |
|---|
| 38 | #NAMED="/etc/init.d/named restart" # BIND8 on some Linux |
|---|
| 39 | #NAMED="/etc/init.d/named9 restart" # BIND9 on some Linux |
|---|
| 40 | #NAMED="/etc/init.d/bind restart" # BIND8 on other Linux |
|---|
| 41 | #NAMED="/etc/init.d/bind9 restart" # BIND9 on other Linux |
|---|