Hello Andrea, On Apr 19, 2012, at 13:19 , Andrea Cappelli wrote:
> 1) act as nameserver for a some other server, connected with him through a > vpn; for those machine recursor will be available; > > 2) serve as public authoritative dns for sub1.domain.com, which is filled > with public ip > > 3) serve as private dns for the zone sub2.domain.com, which records will be > filled with private IP (for example ip on the vpn above) > > Goal 1) and 2) are easy, but I can't figure how to handle 3): I don't want a > dns query (sent through public interface) for srv1.sub2.domain.com to be > resolved, instead my desidered behaviour is to reply that the domain is non > existent > > Is there a way to accomplish this with powerdns? Or there is a bettere way? You have two basic options: a) assuming everybody who needs 3 will be using 1, just load the zone into the recursor b) if not, split 2 and 3 by running two powerdns instances. Kind regards, -- Peter van Dijk Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
