Cloud9

Well-Known Member
Sep 17, 2012
46
0
6
UK
cPanel Access Level
Root Administrator
Hi my zone template as standard is this

Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@      %nsttl%	IN      SOA     %nameserver%. %rpemail%. (
		%serial%	; serial, todays date+todays
		86400		; refresh, seconds
		7200		; retry, seconds
		3600000		; expire, seconds
		86400 )		; minimum, seconds

%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%

%domain%. IN A %ip%

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
Now i want to add this

Code:
%domain%. IN TXT "v=spf1 a mx ptr ip4:xx.xxx.xx.3 ip4:xx.xxx.xx.4  mx:%domain%. include:mailrelaystation.co.uk ?all"
So do i remove the line

Code:
%domain%. IN MX 0 %domain%.
Or should i just add this

Code:
%domain%. IN TXT     "v=spf1 ip4 xx.xxx.xx.3 ip4:xx.xxx.xx.4 mx a ptr include:mailrelaystation.co.uk ?all"
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

SPF records are not meant to replace MX records so it's important you leave the existing MX record in-place.

Thank you.