From f875ea71f28841d9dd0f1ace0bc9980ce2d49548 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 10 Aug 2023 13:36:20 +0200 Subject: [PATCH] Fix FORWARDING MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Václav Ovsík, thanks. --- README | 2 +- m4/mkconf.m4 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 { -- 2.39.2