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.

Mass updating DNS SOA REFRESH times

Discussion in 'Bind / DNS / Nameserver Issues' started by philpem, Jun 23, 2008.

  1. philpem

    philpem Member

    Joined:
    Aug 12, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    I've just reduced the timeout values in my cPanel zone templates to some slightly more sane values (REFRESH 2 hours, RETRY 30 minutes, EXPIRE 2 weeks, MINIMUM 1 hour). Problem is, all my zonefiles have the old, insane times in them (REFRESH 4 days!).

    Does anyone know of a script or application -- Python, Perl or otherwise -- that can change the SOA times and zone TTLs for the entire zonefile tree in one shot?

    Obviously I intend to keep backups.. but I don't like the idea of manually updating 80 zone files.

    Thanks,
    Phil.
     
Loading...

Share This Page