A And Cname-record

Bogdan-Stefan Rotariu bogdan at rotariu.ro
Wed Jun 17 21:56:19 UTC 2020


Hi,

> On 18 Jun 2020, at 00:44, Ejaz Ahmed <mejaz at cyberia.net.sa> wrote:
> 
> when i am trying to add A and CNAME record together  for the same subdomain, getting an error as below, you all kind  assistance would be highly appreciated thanks in  advance
> 
> my records are as follows in zone 
> 
> auotdiscover IN A 1.1.1.1
> autodiscover IN CNAME autodiscover.acig.com.sa <http://autodiscover.acig.com.sa/>
> 
> ======================================================
> dns_master_load: acig.com.sa.hosts:102: autodiscover.a <http://autodiscover.acig.com.sa/>cig.com.sa <http://cig.com.sa/>: CNAME and other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: loading from master file acig.com.sa.hosts failed: CNAME and other data
> 
> zone acig.com.sa/IN <http://acig.com.sa/IN>: not loaded due to errors 

CNAME records cannot coexist with any other records last time I’ve checked. See section 2.4 from RFC1912[1]

[1] https://tools.ietf.org/html/rfc1912 <https://tools.ietf.org/html/rfc1912>

—
Bogdan-Stefan Rotariu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20200618/d8ab254c/attachment.htm>


More information about the bind-users mailing list