]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Selector is 'pickclosest' not 'closest'
authorSomeguy123 <Someguy123@users.noreply.github.com>
Thu, 18 Oct 2018 19:52:05 +0000 (20:52 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Oct 2018 19:52:05 +0000 (20:52 +0100)
docs/lua-records.rst

index 33287e1f4bed6c9c29e9a644f660ed8ce8aec0b6..017b51ff2268d20953eadf14745b0d8d48851209 100644 (file)
@@ -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.