From 8125910fd62429942e8712c253f7810ab8f83205 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 15 Feb 2021 10:00:32 +0100 Subject: [PATCH] docs: notes on LUA record splitting --- docs/lua-records/index.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 -------- -- 2.47.2