From df85801a09d41e6df664a57fd3209845cf307390 Mon Sep 17 00:00:00 2001 From: Ruben d'Arco Date: Thu, 28 Feb 2013 18:39:07 +0100 Subject: [PATCH] Document forward-2136 option --- pdns/docs/pdns.xml | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index c1a1c4777f..87d11b10b1 100755 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -13011,6 +13011,14 @@ sql> insert into domainmetadata (domain_id, kind, content) values (7,'ALLOW-AXFR + + FORWARD-2136 + + + See + + + SOA-EDIT-2136 @@ -13200,6 +13208,17 @@ sql> insert into domainmetadata (domain_id, kind, content) values (7,'ALLOW-AXFR + + forward-2136 [=yes] + + + Tell PowerDNS to forward 2136 to the master server if the zone is configured as slave. Masters are determined by the masters field in the domains table. + The default behaviour is enabled (yes), which means that it will try to forward. In the processing of the update packet, the allow-2136-from and + TSIG-2136-ALLOW are processed first, so those permissions apply before the forward-2136 is used. + + + + @@ -13255,6 +13274,23 @@ send + + FORWARD-2136 + + + See for what it does, but per domain. + +sql> select id from domains where name='powerdnssec.org'; +5 +sql> insert into domainmetadata(domain_id, kind, content) values(5, ‘FORWARD-2136’,’’); + + + There is no content, the existance of the entry enables the forwarding. + This domain-specific setting is only useful when the configuration option forward-2136 is set to 'no', as that will disable it globally. + Using the domainmetadata setting than allows you to enable it per domain. + + + SOA-EDIT-2136 @@ -13469,7 +13505,11 @@ sql> insert into domainmetadata (domain_id, kind, content) values (6, 'TSIG-ALLO The TSIG-ALLOW-2136 domainmetadata setting is used to find which key belongs to the domain. The backends are queried to find the backend for the given domain. - If the powerdns instance is a slave for the given domain, NotImp is returned. + + If the domain is a slave domain, the forward-2136 option and domainmetadata settings are checked. + If forwarding to a master is enabled, the message is forward to the master. If that fails, the next master is tried until all masters are tried. + If all masters fail, ServFail is returned. If a master succeeds, the result from that master is returned. + A check is performed to make sure all updates/prerequisites are for the given zone. NotZone is returned if this is not the case. -- 2.47.3