Set CNAME for sparkpost validation

silverboyir

New member
Joined
Jun 21, 2016
Messages
3
Hi
recently sparkpost added Bounce Domains feature , for approving that , needs to add a CNAME record
but when i want add this record im getting
Cannot Add Record

Details

There is already a A record with that name

i tried
selz.ir -> sparkpostmail.com | didnt pass the validatation in sparkpost
sparkpostmail.com -> selz.ir | didnt pass the validatation in sparkpost
sparkpostmail.com -> selz.ir. | Unable to save dns zone: named-checkzone returned:
loading "selz.ir" from "/var/named/selz.ir.db.temp" class "IN"
dns_master_load: /var/named/selz.ir.db.temp:49: sparkpostmail.com.selz.ir: multiple RRs of singleton type
zone selz.ir/IN: loading from master file /var/named/selz.ir.db.temp failed: multiple RRs of singleton type
zone selz.ir/IN: not loaded due to errors.
selz.ir. -> sparkpostmail.com | error There is already a A record with that name
 
Hello,

it's not allowed and even not possible to have CNAME record for the zone name itself. So you can't create CNAME for selz.ir. You can create CNAME only for www.selz.ir or anything-here.selz.ir.

Found with Google:

A CNAME-record cannot exist with any other records for the same name, because a name cannot both be an alias (CNAME) and something else at the same time. From RFC1912 section 2.4:

"A CNAME record is not allowed to coexist with any other data."

If you try to create a CNAME-record for the name of the zone itself, you will always encounter this conflict because a zone always has at least a SOA-record and typically one or more NS-records with the zone name
 
Back
Top