]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Beef up dns64 example, as suggested by Miod 15455/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 23 Apr 2025 12:45:24 +0000 (14:45 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 23 Apr 2025 12:45:24 +0000 (14:45 +0200)
pdns/recursordist/docs/dns64.rst

index aaa848fcbbfbc54f86535c569a5044bb3e67f692..442c3ff811b56989b7a87fc7642160147b0754c5 100644 (file)
@@ -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 <https://github.com/PowerDNS/pdns/wiki/DNS64-with-multiple-prefixes>`_.