Share DNS-Records between two zones/views (internal & external)
sebastian-n-95--- via Pdns-users <[email protected]>
| Newsgroups | gmane.network.dns.powerdns.user |
|---|---|
| Message-ID | <trinity-c47de14d-10ca-4076-92c9-83c641cb3058-1700060010213@3c-app-gmx-bap11> |
Hey, I am considering migrating my current BIND-Based setup to PowerDNS. For multiple zones, I currently have split-view in bind, so that I can define DNS-Records available only for internal clients. To achieve this, I have the following zonefiles: mydomain.com.ext.zone <- This zonefile is used for the external view mydomain.com.int.zone <- This zonesfile is used for the internal view But I also have: mydomain.com.include <- This file is included in both zonefiles, so records defined there are available in both zones. I was wondering, how I could replicate a setup like this in PowerDNS. From what I was able to search online, in PowerDNS I can not have split views, but would need to use different PowerDNS instances and then something like dnsdist to forward queries based on the source IP. But for DNS-Records that I want to have for internal AND external clients, I would need to create them in both PowerDNS-instances. To me, the risk seems too high, that by accident, DNS-Records are only created/updated on one PowerDNS-Instance, but not on the other. I was thinking about something like: The internal DNS-Server is authorative for mydomain.com and answers what it has, BUT instead of returning NXDOMAIN itself, it would forward the query to the external DNS-Server as well, who then either can resolve, or will return the "final" NXDOMAIN. But that seems impossible. Does anyone know how to achieve those "shared" records? Thanks a lot Sebastian _______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users