From: Remi Gacogne Date: Mon, 6 Oct 2025 15:16:15 +0000 (+0200) Subject: dnsdist: Fix typo X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00d2bffc7457c60208ba2f58bab7cad742a7b3a6;p=thirdparty%2Fpdns.git dnsdist: Fix typo Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/docs/guides/serverselection.rst b/pdns/dnsdistdist/docs/guides/serverselection.rst index 9a55debfa6..d6c6efa38b 100644 --- a/pdns/dnsdistdist/docs/guides/serverselection.rst +++ b/pdns/dnsdistdist/docs/guides/serverselection.rst @@ -99,7 +99,7 @@ Lua server policies .. warning:: - There has been a significant change to the way custom load-balancing policies written in Lua works since 2.1.0: they now need to return the index in the servers array of the backend they intend to select, instead of returning a reference the backend itself. + There has been a significant change to the way custom load-balancing policies written in Lua works since 2.1.0: they now need to return the index in the servers array of the backend they intend to select, instead of returning a reference to the backend itself. If you don't like the default policies you can create your own, like this for example (before 2.1.0):: diff --git a/pdns/dnsdistdist/docs/upgrade_guide.rst b/pdns/dnsdistdist/docs/upgrade_guide.rst index 020ca59f3c..b8d253898e 100644 --- a/pdns/dnsdistdist/docs/upgrade_guide.rst +++ b/pdns/dnsdistdist/docs/upgrade_guide.rst @@ -4,7 +4,7 @@ Upgrade Guide 2.0.x to 2.1.0 -------------- -Custom load-balancing policies written in Lua now need to return the index in the servers array of the backend they intend to select, instead of returning a reference the backend itself. +Custom load-balancing policies written in Lua now need to return the index in the servers array of the backend they intend to select, instead of returning a reference to the backend itself. 1.9.x to 2.0.0 --------------