From: Markus Hauschild Date: Thu, 8 Oct 2020 13:57:57 +0000 (+0200) Subject: docs: fix lua reverse example for IPv6 records X-Git-Tag: auth-4.4.0-alpha2~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9595%2Fhead;p=thirdparty%2Fpdns.git docs: fix lua reverse example for IPv6 records The example called the createReverse function on a PTR record for an IPv6 address instead of the createReverse6 - which when mindlessly copy and pasted resulted in a lengthy servfail error --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index c34eb1bc94..1abed8462b 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -270,8 +270,8 @@ Reverse DNS functions Example records:: - *.1.0.0.2.ip6.arpa IN LUA PTR "createReverse('%33%.static6.example.com')" - *.2.0.0.2.ip6.arpa IN LUA PTR "createReverse('%34%.%35%.static6.example.com')" + *.1.0.0.2.ip6.arpa IN LUA PTR "createReverse6('%33%.static6.example.com')" + *.2.0.0.2.ip6.arpa IN LUA PTR "createReverse6('%34%.%35%.static6.example.com')" When queried::