From: Otto Moerbeek Date: Wed, 23 Apr 2025 12:45:24 +0000 (+0200) Subject: Beef up dns64 example, as suggested by Miod X-Git-Tag: dnsdist-2.0.0-alpha2~49^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d98cab0323154e5277e8964702b64558e5ef24d;p=thirdparty%2Fpdns.git Beef up dns64 example, as suggested by Miod --- diff --git a/pdns/recursordist/docs/dns64.rst b/pdns/recursordist/docs/dns64.rst index aaa848fcbb..442c3ff811 100644 --- a/pdns/recursordist/docs/dns64.rst +++ b/pdns/recursordist/docs/dns64.rst @@ -40,8 +40,13 @@ To setup DNS64, with both forward and reverse records, create the following Lua .. literalinclude:: ../contrib/dns64.lua :language: lua -Where fe80::21b:77ff:0:0 is your "Pref64" translation prefix and the "ip6.arpa" string is the reversed form of this Pref64 address. -Now ensure your script gets loaded by specifying it with :ref:`setting-yaml-recursor.lua_dns_script`. +Where ``fe80::21b:77ff:0:0`` is your ``Pref64`` translation prefix and the ``ip6.arpa`` string is the reversed form of this Pref64 address. +Now ensure your script gets loaded by specifying its pathname as the value of :ref:`setting-yaml-recursor.lua_dns_script`: + +.. code-block:: yaml + + recursor: + lua_dns_script: .../dns64.lua On our wiki, a user has kindly supplied `an example script with support for multiple prefixes `_.