X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=m4%2Fmkconf.m4;h=eedde55b1e3119cf83e6db6f2e5981c0d5c08acf;hb=0f28cfaa52b633c4a0217345731973565b6ea897;hp=e5779217959d675eb42fbbc6e3d69522976e3206;hpb=72bcc050e870971579922f6db45449063188e501;p=nsc-5.git diff --git a/m4/mkconf.m4 b/m4/mkconf.m4 index e577921..eedde55 100644 --- a/m4/mkconf.m4 +++ b/m4/mkconf.m4 @@ -40,6 +40,26 @@ define(`SLAVE', `FORWArd(only, $@)') 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)') + +# Blackhole zones + +define(`BLACKHOLE', `divert(0)zone "$1" in { + type master; + file "cf/blackhole"; +}; + +divert(-1)') + # Manual insertion of config file material define(`CONFIG', `divert(0)$1