Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reset DNS Zone causing duplicate entries.

Discussion in 'Bind/DNS/Nameserver' started by Jeff P., Nov 25, 2016.

Tags:
  1. Jeff P.

    Jeff P. Active Member

    Joined:
    Feb 2, 2016
    Messages:
    42
    Likes Received:
    9
    Trophy Points:
    8
    Location:
    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:blah@gmail.com!10m; ruf=mailto:blah@gmail.com!10m; rf=afrf; pct=100; ri=86400"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice