[Pdns-users] Control pdns response

Andrea Cappelli a.cappelli at asidev.com
Thu Apr 19 12:11:19 UTC 2012


Il 19/04/2012 13:51, Peter van Dijk ha scritto:
> Hello Andrea,

Hello Peter, thank you for your reply

> a) assuming everybody who needs 3 will be using 1, just load the zone 
> into the recursor 

You mean using the conf auth-zones in recursor conf?

Like

auth-zones = sub1.domain.com=/var/zones/sub1.domain.com, 
sub2.domain.com=/var/zones/sub2.domain.com

In this case the file /var/zones/sub1.domain.com should be a bind zone 
file?

For example http://en.wikipedia.org/wiki/Zone_file


> b) if not, split 2 and 3 by running two powerdns instances.

So I can put an instance on the public IP and an instance on the private 
IP, and only the private instance is allowed to do recursion (to 
complain with 1) )

In this case (assuming private instance doesn't know about public 
domains) if the private pdns is contacted for a public domain, it will 
go  through recursion and will contact the public pdns which will give 
the response: do you think I can accept this scenario or I have to sync 
private with public data, making it authorithative for those domains, 
for example using axfr

Thank you very much


-- 
Andrea Cappelli
Asidev s.r.l.




More information about the Pdns-users mailing list