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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reset DNS Zone causing duplicate entries.

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

Tags:
  1. Jeff P.

    Jeff P. Active Member

    Joined:
    Feb 2, 2016
    Messages:
    30
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Palm Coast, Fl
    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"
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page