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!

Mass DNS Changing

Discussion in 'Bind/DNS/Nameserver' started by WebmastTroy, May 10, 2003.

  1. WebmastTroy

    WebmastTroy Well-Known Member

    Joined:
    Apr 28, 2002
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    306
    I wrote a script that will look through a file and replace A with B or whatever I want it to. I need to make some massive changes to a LOT of account's DNS zone files on the server.

    If I run this script through the DNS zone file directory and have it open/save/close, will the DNS update correctly? I've seen weird problems with the serial numbers and such and didn't want anything weird to happen.

    Thanks in advance.
     
  2. Nico

    Nico Well-Known Member

    Joined:
    Dec 5, 2001
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Edmond, OK
    You will need to increment the serial number by one.
     
  3. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    1
    Trophy Points:
    168
    Yep, that's important.
     
  4. manlius.com

    manlius.com Active Member

    Joined:
    Nov 20, 2002
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Upstate New York
    Do you have a copy of this script to share?

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    193
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    A very good swap script is available at http://www.cgiware.com

    Why reinvent the whell? Because you can.

    cPanel.net Support Ticket Number:
     
    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