Hi
On 19/01/2021 07.41, Dedan Irungu via Pdns-users wrote:
I have installed powerdns on the server to serve DNS requests.
The setup has powerdns at port 5300, recursor at port 5301 and dnsdist
at port 53.
You never send any queries to you auth server.
setLocal('85.10.203.183')
setACL({'0.0.0.0/0 <http://0.0.0.0/0>', '::/0'}) -- Allow all IPs access
newServer({address='85.10.203.183:5301 <http://85.10.203.183:5301>',
pool='auth'})
newServer({address='85.10.203.183:5301 <http://85.10.203.183:5301>',
pool='recursor'})
You set up 2 pools. You probably want your auth pool to go to 5300?
recursive_ips = newNMG()
recursive_ips:addMask('0.0.0.0/0 <http://0.0.0.0/0>') -- These network
masks are the ones from allow-recursion in the Authoritative Server
addAction(NetmaskGroupRule(recursive_ips), PoolAction('recursor'))
addAction(AllRule(), PoolAction('auth'))
Then you say that everyone should talk to the recursive pool.
Best regards,
Jacob
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users