From 7710cc52f57a15ca83457fa4f05b56940797f9eb Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 27 May 2014 09:40:39 +0200 Subject: [PATCH] add documentation for follow cname option in Lua. --- pdns/docs/pdns.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index 5423a1d06..425f0cc17 100644 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -15354,14 +15354,7 @@ Feb 10 14:16:03 stats: 125784 questions, 13971 cache entries, 309 negative entri programming language. - - - This functionality is expected to change from version to version as additional scripting needs become apparent! - - - - - These scripts can be used to quickly override dangerous domains, for load balancing or for legal or commercial purposes. + These scripts can be used to quickly override dangerous domains, fix things that are wrong, for load balancing or for legal or commercial purposes. As of 3.1.7, queries can be intercepted in two places: before the resolving logic starts to work, plus after the resolving process failed to find @@ -15569,6 +15562,13 @@ end To get fake AAAA records for DNS64 usage, use return "getFakeAAAARecords", domain, "fe80::21b:77ff:0:0". Available since version 3.4. + CNAME chain resolution + + It may be useful to return a CNAME record for Lua, and then have the PowerDNS Recursor continue resolving that CNAME. + This can be achieved by returning: "followCNAMERecords", 0, {{qtype=pdns.CNAME, content="www.powerdns.com"}}. This indicates + an rcode of 0 and the records to put in the record. But the first string instruct PowerDNS to complete the CNAME chain. Available since 3.6. + + DNS64 support in the PowerDNS Recursor -- 2.40.0