[Pdns-users] named view migration

frank+pdns at tembo.be frank+pdns at tembo.be
Wed Aug 3 08:46:21 UTC 2022


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 <lovilak at 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+pdns at tembo.be <mailto:frank%2Bpdns at tembo.be> <frank+pdns at tembo.be <mailto:frank%2Bpdns at 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 at mailman.powerdns.com <mailto:pdns-users at 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 at mailman.powerdns.com <mailto:Pdns-users at mailman.powerdns.com>
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users <https://mailman.powerdns.com/mailman/listinfo/pdns-users>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220803/05782446/attachment.htm>


More information about the Pdns-users mailing list