[Pdns-users] AXFR of ALIAS records pointing to records of same zone

Andreas Pfohl mail at apfohl.com
Sun Oct 30 20:34:54 UTC 2016


Hello,

I’m trying to build a setup where PowerDNS is used as a hidden primary DNS server. The job of this PowerDNS server is, to provide zone transfers to the OpenDNSSEC service for signing the zone data.

What I’m trying to achieve is the ability to use the new ALIAS record to merge data from records of the same zone. I have created the following records:

dyn.example.com.     A     127.0.0.1
service.example.com. AAAA  ::1
service.example.com. ALIAS dyn.example.com.

This works great so far. If I query for service.exmaple.com. I get both IP addresses back in the response.

Now, I change the A record to 127.0.0.2 in the database. The zone transfer which is caused by updating the record in the database delivers the AAAA record of ::1 and the A of 127.0.0.1, instead of ::1 and 127.0.0.2. I see, that there is some sort of race condition going on here.

I’m using the following options in PowerDNS for the ALIAS record. I’m using PowerDNS 4.0.1.

allow-recursion=127.0.0.1
recursor=127.0.0.1 <- local resolver (Unbound)
outgoing-axfr-expand-alias=yes

Do you have any ideas, how I can fix this problem?

Thanks for your time.


Kind regards

Andreas Pfohl


More information about the Pdns-users mailing list