source: alternc-slavedns/trunk/slavedns.conf @ 1675

Revision 1675, 1.5 KB checked in by anarcat, 7 years ago (diff)

allow for arbitrary url

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
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
7PROTOCOL=https
8HOST=10.0.0.1
9
10# Hostname http[s] of the master dns server :
11#URL=${PROTOCOL}://${HOST}/admin/domlist.php
12
13# IP Address of the master dns server, defaults to the contacted host
14MASTERIP=${HOST}
15
16# Login of the slave to connect to the server (the primary dns administrator will give it to you.)
17LOGIN=myaccount
18
19# Password of the slave to connect to the server
20PASSWORD=mypass
21
22# That's all. at most one hour after you put a new file in this directory,
23# slavedns will try to synchronize it's domain list
24# you may launch manually the synchronization with "/usr/sbin/slavedns"
25
26# you can override the default config with those settings
27# those are provided as examples and do not reflect the default values
28# CACHEDIR=/var/spool/slavedns
29# BINDDIR=/etc/namedb/slavedns
30# BINDINCLUDE=/etc/namedb/slavedns.conf
31# WGETFLAGS="--no-check-certificate"
32#NAMED="/usr/pkg/etc/rc.d/named9 restart" # BIND9 on NetBSD
33#NAMED="/etc/rc.d/named restart" # BIND8 on NetBSD/OpenBSD
34#NAMED="killall -HUP named" # generic
35#NAMED="/etc/init.d/named restart" # BIND8 on some Linux
36#NAMED="/etc/init.d/named9 restart" # BIND9 on some Linux
37#NAMED="/etc/init.d/bind restart" # BIND8 on other Linux
38#NAMED="/etc/init.d/bind9 restart" # BIND9 on other Linux
Note: See TracBrowser for help on using the repository browser.