CNAME as an alias to a TXT record

Matus UHLAR - fantomas uhlar at
Wed Nov 6 09:00:29 UTC 2019

>On 04.11.19 12:30, Computerisms Corporation wrote:
>>I am wondering if it is possible to create a CNAME in one zone to 
>>resolve as a TXT record in another zone.

On 06.11.19 09:48, Matus UHLAR - fantomas wrote:
>CNAME will not resolve as a TXT.
>CNAME will make ALL types queries for original query being resolved as the

FYI you can try querying

% dig +noall +answer any 43200 IN     CNAME

% dig +noall +answer txt 43200 IN     CNAME 43200   IN      TXT     "this is an example of how CNAME works"

% dig +noall +answer mx 43200 IN     CNAME 43200   IN      MX      10

% dig +noall +answer a 43200 IN     CNAME 43200   IN      A

>>Can't find anything that says it will work, but can't find any thing 
>>that says it won't, either.
>>For example, I have added in the zone file for dom1:
>>_acme-challenge	CNAME
>>and then in zone file for dom2:
>>_acme-challenge	TXT	"thisismytextvalue"
>>Then, and more or less as expected, the following dig command fails 
>>to return a record.
>>dig -t TXT
>is is supposed to work this way. If it doesn't, you have an error somewhere.
>Are you sure that there's no other record than the

Matus UHLAR - fantomas, uhlar at ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watkins.  -- Daffy Duck & Porky Pig

More information about the bind-users mailing list