From: Pieter Lexis Date: Mon, 15 Feb 2021 09:00:32 +0000 (+0100) Subject: docs: notes on LUA record splitting X-Git-Tag: dnsdist-1.6.0-alpha2~42^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8125910fd62429942e8712c253f7810ab8f83205;p=thirdparty%2Fpdns.git docs: notes on LUA record splitting --- diff --git a/docs/lua-records/index.rst b/docs/lua-records/index.rst index 08dab78405..7845010f29 100644 --- a/docs/lua-records/index.rst +++ b/docs/lua-records/index.rst @@ -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 --------