Reset DNS Zone causing duplicate entries.

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
I added custom DKIM, SPF and DMARC to my zone templates.

When I reset a zone, it duplicated those entries each time it is reset.

What can I do to prevent this?

My Custom Entries:


%domain%. %nsttl% IN TXT "v=spf1 mx include:send.aweber.com -all"

default._domainkey IN TXT "v=DKIM1; k=rsa; p=blahblahblahblah\;

_dmarc.%domain%. IN TXT "v=DMARC1; p=none; sp=none; rua=mailto:[email protected]!10m; ruf=mailto:[email protected]!10m; rf=afrf; pct=100; ri=86400"
 

cPanelMichael

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

Custom TXT entries are preserved when resetting a DNS Zone. This is referenced in the confirmation message:

Are you sure you wish to reset the zone example.tld to its default values? All custom entries will be lost except for TXT records, subdomains will be restored.
You'd have to temporarily remove the custom TXT records from the zone template before resetting a zone to prevent the duplicate records. I recommend opening a feature request for the ability to disable TXT record preservation during zone resets via:

Submit A Feature Request

Thank you.