From: Martin Mares Date: Thu, 10 Aug 2023 11:36:20 +0000 (+0200) Subject: Fix FORWARDING X-Git-Tag: v5.1~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f875ea71f28841d9dd0f1ace0bc9980ce2d49548;p=nsc-5.git Fix FORWARDING Patch by Václav Ovsík, thanks. --- diff --git a/README b/README index 1417708..07766cf 100644 --- a/README +++ b/README @@ -151,7 +151,7 @@ REVERSE(network, primary-files...) You can also use the REV macro explicitly, which can be handy for example in SECONDARY declarations. -FORWARDED(zone, ip...) +FORWARDING(zone, ip...) Define a forwarding zone. All queries are forwarded to the specified name servers. diff --git a/m4/mkconf.m4 b/m4/mkconf.m4 index befb306..2c3681c 100644 --- a/m4/mkconf.m4 +++ b/m4/mkconf.m4 @@ -39,6 +39,8 @@ ZZ_OPTIONS()dnl divert(-1)') +define(`FORWard', `patsubst(`$*',`,',`; ')') + # Blackhole zones define(`BLACKHOLE', `divert(0)zone "$1" in {