+
+ o Added the FORWARDING macro for generating forward-only zones.
+
Version 3.1 [21-05-2008]
o Fixes for compatibility problems with recent versions of GNU m4.
You can also use the REV macro explicitly, which can be handy
for example in SECONDARY declarations.
+FORWARDED(zone, ip...)
+ Define a forwarding zone. All queries are forwarded to the
+ specified name servers.
+
ZONE_OPTIONS(`options;
more options;
')
PRIMARY(ip6.example.com)
REVERSE(fec0:1234::/32, ip6.example.com)
+
+; One more: a forward-only zone
+
+FORWARDING(fwd.example.com, 10.0.0.1, 10.0.0.2)
divert(-1)')
+# Definition of a forwarding zone
+
+define(`FORWARDING', `divert(0)zone "$1" in {
+ type forward;
+ forward only;
+ forwarders { FORWard(shift($@),)};
+ZZ_OPTIONS()dnl
+};
+
+divert(-1)')
+
# Manual insertion of config file material
define(`CONFIG', `divert(0)$1