Login
New User

Welcome to destr0yr's asylum
Monday, October 06 2008 @ 08:00 AM PDT

DNS: TXT SPF record with CNAME (with BIND)

Linuxopenspf.org may recommend adding a record such as:

mail.domain.tld. IN TXT "v=spf1 a -all"

Upon adding the TXT record, you may receive the following errors when running a named-checkzone (our through your control panel, such as WHM/cPanel):

# named-checkzone domain.tld /var/named/domain.tld.db
dns_master_load: /var/named/domain.tld.db:30: mail.domain.tld: CNAME and other data
zone domain.tld/IN: loading master file /var/named/domain.tlddb: CNAME and other data

The issue is that you cannot mix CNAME (look in your zone file, mail.domain.tld. will be a CNAME) with other records for a name as this is a DNS restriction. The solution is to change mail.domain.tld to an A record (from the CNAME) and disaster should be averted.



Story Options

Trackback

Trackback URL for this entry: http://www.destr0yr.com/trackback.php/DNSTXTSPFrecordwithCNAME

No trackback comments for this entry.
DNS: TXT SPF record with CNAME (with BIND) | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.