]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs: notes on LUA record splitting
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 15 Feb 2021 09:00:32 +0000 (10:00 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 15 Feb 2021 09:04:27 +0000 (10:04 +0100)
docs/lua-records/index.rst

index 08dab784054fd98a3de849c153617a515d3f281c..7845010f291f39a09dbe6f32514179d32c501e94 100644 (file)
@@ -27,6 +27,11 @@ or set the 'ENABLE-LUA-RECORDS' per-zone metadata item to 1.
 In addition, to benefit from the geographical features, make sure the PowerDNS
 launch statement includes the ``geoip`` backend.
 
+.. warning::
+  When using AXFR to transfer long LUA records, ensure that the record content split into segments no longer than 255 bytes.
+  Due to the nature of the transfer method (as TXT content), the content will be split into 255 byte chunks.
+  This can lead to the code being split in the wrong places on the secondary.
+
 Examples
 --------