From: Bozhan Liang Date: Mon, 16 Dec 2024 12:29:04 +0000 (+0800) Subject: documentation for createReverse6 X-Git-Tag: dnsdist-2.0.0-alpha1~145^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a63d001028ed1a9a6e402715253e306c065b663b;p=thirdparty%2Fpdns.git documentation for createReverse6 --- diff --git a/docs/lua-records/functions.rst b/docs/lua-records/functions.rst index a078ee4200..c71b863792 100644 --- a/docs/lua-records/functions.rst +++ b/docs/lua-records/functions.rst @@ -415,6 +415,7 @@ Reverse DNS functions - ``%3%`` = 0 - ``%4%`` = 1 - ``%33%`` converts the compressed address format into a dashed format, e.g. ``2001:a::1`` to ``2001-a--1`` + This format may add '0' to the result, preventing it from being identified as an illegal IDN by ``dig``. - ``%34%`` to ``%41%`` represent the 8 uncompressed 2-byte chunks - **Example:** PTR query for ``2001:a:b::123`` - ``%34%`` - returns ``2001`` (chunk 1)