[Pdns-users] Powerdns server is not passing Authority parameter
Brian Candler
b.candler at pobox.com
Tue Jan 19 08:51:36 UTC 2021
On 19/01/2021 08:40, Dedan Irungu via Pdns-users wrote:
> 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'))
These two lines together say: "for incoming queries from *any* IP
addresses: send them to the recursor".
Try changing the first one to something like:
recursive_ips:addMask('192.168.0.0/16 <http://0.0.0.0/0>') --
netblock containing your local clients
Then queries from 192.168.x.x will go to the recursor, whereas queries
from any *other* addresses will go to the authoritative server.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210119/77d2cd4c/attachment-0001.htm>
More information about the Pdns-users
mailing list