Hi, That's certainly possible, you could also use LUA records directly in PowerDNS to decide what the reply would be. This would prevent the duplication.
Frank > On 3 Aug 2022, at 10:10, lovi <lovi...@gmail.com> wrote: > > Hello, > > Thanks for this answer. > I might havent well explained : > 1 - I have a zone : mycompany.tld > 2 - this zone is splitted with named in 2 views : siteA and siteB > 3 - I had to duplicate all my recordds in this 2 views > 4- I only have a few difference for example (cname for ntp, proxy, ..) > > I dont think this configuration of duplicating records is a good idea and I > might find with powerdns someting better to do, maybe ? > - like rules with dnsdist : could it detect that if a query comes it could > respond a particular answer > or .. ? > > > Le mar. 2 août 2022 à 20:09, frank+p...@tembo.be > <mailto:frank%2bp...@tembo.be> <frank+p...@tembo.be > <mailto:frank%2bp...@tembo.be>> a écrit : > Hi Lovi, > > While you're correct that PowerDNS doesn't have views, you can simulate views > using dnsdist (see > https://www.frank.be/implementing-bind-views-with-powerdns/ > <https://www.frank.be/implementing-bind-views-with-powerdns/>) > > Frank > > >> On 2 Aug 2022, at 14:46, lovi via Pdns-users >> <pdns-users@mailman.powerdns.com <mailto:pdns-users@mailman.powerdns.com>> >> wrote: >> >> Hello, >> >> Im running a bind/named ns master, with view zone such as : >> azone.com <http://azone.com/> in siteA = bzone.com <http://bzone.com/> in >> siteB but only some cname records are differents like proxy, ntp, .. >> As im looking to use powerdns and as I know powerdns do not deal with named >> views : what would be the best way to move this configuration ? >> >> Best Regards >> _______________________________________________ >> Pdns-users mailing list >> Pdns-users@mailman.powerdns.com <mailto:Pdns-users@mailman.powerdns.com> >> https://mailman.powerdns.com/mailman/listinfo/pdns-users >> <https://mailman.powerdns.com/mailman/listinfo/pdns-users> >
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users