<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Frank</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 3 Aug 2022, at 10:10, lovi <<a href="mailto:lovilak@gmail.com" class="">lovilak@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""><div class="">Thanks for this answer. </div><div class="">I might havent well explained :</div></div><div class="">1 - I have a zone : mycompany.tld</div><div class="">2 - this zone is splitted with named in 2 views : siteA and siteB</div><div class="">3 - I had to duplicate all my recordds in this 2 views </div><div class="">4- I only have a few difference for example (cname for ntp, proxy, ..)</div><div class=""><br class=""></div><div class="">I dont think this configuration of duplicating records is a good idea and I might find with powerdns someting better to do, maybe ?</div><div class="">- like rules with dnsdist : could it detect that if a query comes it could respond a particular answer</div><div class="">or .. ?</div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 2 août 2022 à 20:09, <a href="mailto:frank%2Bpdns@tembo.be" class="">frank+pdns@tembo.be</a> <<a href="mailto:frank%2Bpdns@tembo.be" class="">frank+pdns@tembo.be</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Lovi,<div class=""><br class=""></div><div class="">While you're correct that PowerDNS doesn't have views, you can simulate views using dnsdist (see <a href="https://www.frank.be/implementing-bind-views-with-powerdns/" target="_blank" class="">https://www.frank.be/implementing-bind-views-with-powerdns/</a>)</div><div class=""><br class=""></div><div class="">Frank</div><div class=""><br class=""><div class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 2 Aug 2022, at 14:46, lovi via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com" target="_blank" class="">pdns-users@mailman.powerdns.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">Im running a bind/named ns master, with view zone such as : </div><div class=""><a href="http://azone.com/" target="_blank" class="">azone.com</a> in siteA = <a href="http://bzone.com/" target="_blank" class="">bzone.com</a> in siteB but only some cname records are differents like proxy, ntp, .. </div><div class="">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 ?</div><div class=""><br class=""></div><div class="">Best Regards</div></div>
_______________________________________________<br class="">Pdns-users mailing list<br class=""><a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank" class="">Pdns-users@mailman.powerdns.com</a><br class=""><a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank" class="">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br class=""></div></blockquote></div><br class=""></div></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>