pdns icon indicating copy to clipboard operation
pdns copied to clipboard

Addition/correction to documentation regarding ALIAS

Open tpl1969 opened this issue 4 years ago • 5 comments

As told in the PowerDNS Users Mailinglist: please add to the documentation that only one ALIAS per name is allowed. Like a CNAME, only one ALIAS per name is allowed. It looks like the documentation[1] does not make this clear https://doc.powerdns.com/authoritative/guides/alias.html

tpl1969 avatar Oct 05 '21 08:10 tpl1969

perhaps pdnsutil should warn about this as well (if it does not do so already)

pieterlexis avatar Oct 05 '21 09:10 pieterlexis

Any chance that this would be not fixed? I have found a combination of configuration options and setup which (ab)uses multiple ALIAS records to give a round-robin behavior that I'd really like to keep (see https://www.datafaber.com/2020/08/creative-uses-of-alias-records-in-powerdns/ ).

sebastianopilla avatar Oct 05 '21 09:10 sebastianopilla

@Habbie ?

pieterlexis avatar Oct 05 '21 09:10 pieterlexis

https://www.datafaber.com/2020/08/creative-uses-of-alias-records-in-powerdns/ says:

As far as I can see, this trick relies on AXFR and won’t work if your PowerDNS instances are running in native mode (that is, record data is transmitted via database replication).

This is correct. It does not work when served live (natively) and that's not going to change. Hence, the behaviour you are relying on here is an accident and it might go away at some point, sorry!

Habbie avatar Oct 05 '21 09:10 Habbie

perhaps pdnsutil should warn about this as well (if it does not do so already)

Tested it, and pdnsutil does not give out a warning.

tpl1969 avatar Oct 05 '21 09:10 tpl1969