From: Someguy123 Date: Thu, 18 Oct 2018 19:52:05 +0000 (+0100) Subject: Selector is 'pickclosest' not 'closest' X-Git-Tag: dnsdist-1.3.3~31^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf8d3f7d92974c4c73dee0cfe3e681560ba5846;p=thirdparty%2Fpdns.git Selector is 'pickclosest' not 'closest' --- diff --git a/docs/lua-records.rst b/docs/lua-records.rst index 33287e1f4b..017b51ff22 100644 --- a/docs/lua-records.rst +++ b/docs/lua-records.rst @@ -59,7 +59,7 @@ addresses. ``pickclosest`` and ifportup can be combined as follows:: www IN LUA A ("ifportup(443, {'192.0.2.1', '192.0.2.2', '198.51.100.1'}" - ", {selector='closest'}) ") + ", {selector='pickclosest'}) ") This will pick from the viable IP addresses the one deemed closest to the user.