[Pdns-users] Re: Restricting lookups on some zones

Brendan Oakley gentux2 at gmail.com
Fri Oct 12 20:52:25 UTC 2007


Hello again.

On 10/5/07, Brendan Oakley wrote:
>
> What I seem to be unable to do is to restrict which client IP's may do
> lookups on certain zones. In BIND this is done with the 'allow-query'
> directive. Any query from a subnet listed with this directive will
> receive the correct answer. Anyone else will receive a "not found:
> 5(REFUSED)" response. Not surprisingly, this directive is ignored in
> the bind backend's parsing of named.conf. I do not see a similar
> option in pdns.conf. Is there something I can do with PowerDNS to
> block certain zones from outside access?

I solved the problem by applying the patch on ticket #166, and setting
all "ttl" settings to 0 in the pdns.conf.

http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/166

Thanks.
Brendan


More information about the Pdns-users mailing list