[Pdns-users] Rcode 3 NXDOMAIN for existing CNAME

Peter van Dijk peter.van.dijk at powerdns.com
Wed Mar 22 14:02:58 UTC 2023


On Tue, 2023-03-21 at 16:57 +0100, Peter Thomassen via Pdns-users wrote:
> Well, if you ask for the xNAME (e.g. CNAME) record, then you'll get that (with a NOERROR code). So by issuing an xNAME query in addition to the record type you're interested in, you can learn whether the NXDOMAIN is due to the queried name not existing, or due to the CNAME chain target not existing.
> 
> However, I doubt this is a reasonable approach for your ACME client.

It would be a weird workaround, when the better approach is to make the
ACME client just understand rcodes correctly :)

Cheers, Peter



More information about the Pdns-users mailing list