]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update recursion.rst 6047/head
authorRvdE <tremere@cainites.net>
Mon, 4 Dec 2017 15:23:05 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Dec 2017 15:23:05 +0000 (16:23 +0100)
Fix newServer statements in the dnsdist config and fix duplicate sesion 4.

docs/guides/recursion.rst

index 2bf3e13cfc9f3e6a651865c6a2459235d08c3728..c43536add733b7f85ace86af184f4bce96d4e67d 100644 (file)
@@ -202,8 +202,8 @@ This is where several settings from the existing Authoritative Server
     addLocal('ANOTHERIPADDRESS:PORT')
     setACL({'0.0.0.0/0', '::/0'}) -- Allow all IPs access
 
-    newServer({'127.0.0.1:5300', pool='auth'})
-    newServer({'127.0.0.1:5301', pool='recursor'})
+    newServer({address='127.0.0.1:5300', pool='auth'})
+    newServer({address='127.0.0.1:5301', pool='recursor'})
 
     recursive_ips = newNMG()
     recursive_ips:addMask('NETWORKMASK1') -- These network masks are the ones from allow-recursion in the Authoritative Server
@@ -216,7 +216,7 @@ This configuration will route all queries from the netmasks that are
 allowed to do recursion to the Recursor and all other queries to the
 Authoritative Server.
 
-4. Restart the Authoritative Server, the Recursor and dnsdist
+5. Restart the Authoritative Server, the Recursor and dnsdist
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Restart the Authoritative Server first so its bind addresses become free