[Pdns-users] Return CNAME or other alias backend as A

Daniel Miller dmiller at amfes.com
Thu Feb 6 15:18:03 UTC 2020


------ Original Message ------
From: "Brian Candler" <b.candler at pobox.com>
To: "Daniel Miller" <dmiller at amfes.com>; "PowerDNS Users" 
<pdns-users at mailman.powerdns.com>
Sent: 2/5/2020 1:04:27 PM
Subject: Re: [Pdns-users] Return CNAME or other alias backend as A

>On 05/02/2020 20:31, Daniel Miller via Pdns-users wrote:
>>The above domain would be invalid as CNAME's are illegal for MX and NS records. But is there perhaps a configuration setting that would have PowerDNS internally resolve and return the CNAMEs as the correct A records - so any query of this authoritative server would never see CNAMEs?
>
>You would be looking for ALIAS records :-)
>
>https://doc.powerdns.com/authoritative/guides/alias.html
>
I initially thought so - but per the manual, "The ALIAS record provides 
a way to have CNAME-like behaviour on the zone apex."

So from the manual I inferred the purpose of ALIAS was to basically 
clone a zone and was not to be used for individual host records. Is it 
in fact good practice with PowerDNS to have multiple occurrences of 
ALIAS within a zone to define multiple hostnames?

---
Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200206/7cd58491/attachment.htm>


More information about the Pdns-users mailing list