|
Jul's page (Hungarian)
: Jul's packages
: djbdns-conf
The slaves/masters file
slaves/masters have five simple rules:
- Empty lines, whitespaces and strings after hash mark (#) aren't count.
- Every line has exactly one rule.
- Every rule has two or three parameters delimited by a colon (:).
- Two-parameter rules mean zone copy via ssh from remote host's
standard directory path (see ETC in etc/conf).
- Three-parameter rules which third parameter starts with slash mean
zone copy via ssh from remote host's specified path.
- Other three-parameter rules mean zone copy via axfr-get.
Rule format:
file name:remote name[:zone or sysconfigdir name]
where
- file name: the zone will be stored under this name (without
'.conf' suffix)
- remote name: it can be either an IP address (AXFR), or an ssh
remote address in username@hostname format.
- zone name: it specifies the domain name what is downloaded.
- sysconfigdir name: specifies the sysconfig directory if the local
or remote one (ETC variable in etc/conf file) is not the same (default:
/etc)
Example
# SSH gets:
# filename (without .conf):username@hostname[:/sysconf/dir]
# as host:dnsread@a.ns.host.com:/etc/dns
#
# AXFR gets:
# filename:hostname:zone
# as host:ns.host.com:host.com
lamer: dnsread@a.ns.lamer.com:/etc/domains # Lamer.Com
iksz: dnsread@a.ns.iksz.hu # Iksz.Hu
binduser: ns.bindusers.net :bindusers.net # Bind Users.Net
|