o Added FORWARDING macro for generating forward-only zones.
o Added BLACKHOLE macro for blackhole zones as per RFC 6303.
Blackhole zones in example cf/domains updated to use this macro.
+ o Given that BIND does not support combination of options { }
+ sections, we do not generate them any longer -- write the
+ appropriate options to BIND config file and include the part
+ with the list of zones generated by NSC from there. This means
+ that BIND_OPTIONS, FORWARD and SLAVE are gone.
Version 3.1 [21-05-2008]
NSNAME Origin server (default: hostname of your machine)
MAINTNAME Domain maintainer name (default: root@NSNAME)
-BIND_OPTIONS Extra options to put to the options { ... } section of named.conf
-
For the timing parameters, the following shortcuts are available:
HOURS(n) Convert hours to seconds
MINUTES(n) Convert minutes to seconds
DAYS(n) Convert days to seconds
-For the BIND_OPTIONS, we offer:
-
-FORWARD(ip...) Try to ask the given name servers first to see if they
- have the reply cached.
-SLAVE(ip...) Pass all non-local requests to the given name servers.
-
5. Makefile targets
~~~~~~~~~~~~~~~~~~~
define(`NAMED_RESTART_CMD', `ndc reload')
-define(`BIND_OPTIONS', ` # Other options can be added here via macro `BIND_OPTIONS'')
-
define(`ROOT', `/etc/named')
define(`CFDIR', `cf')
define(`ZONEDIR', `zone')
divert(-1)')
-# Definition of forwarders for both normal and slave mode
-
-define(`FORWard', `patsubst(`$*',`,',`; ')')
-define(`FORWArd', ` forward $1;
- forwarders { FORWard(shift($@),)};
-')
-
-define(`FORWARD', `FORWArd(first, $@)')
-define(`SLAVE', `FORWArd(only, $@)')
-
-divert(-1)')
-
# Definition of a forwarding zone
define(`FORWARDING', `divert(0)zone "$1" in {
`#' Please don't edit manually
`#'
-options {
- directory "ROOT";
- interface-interval 0;
-BIND_OPTIONS
-};
-
zone "." in {
type hint;
file "ROOTCACHE";