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.

New DNS servers

Discussion in 'Bind / DNS / Nameserver Issues' started by nowiresltd, Jul 10, 2009.

  1. nowiresltd

    nowiresltd Registered

    Joined:
    Dec 8, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    All the domains in my setup have the following two dns servers in there DNS records:

    ns1.mydns.com
    ns2.mydns.com

    now I need to add

    ns3.mydns.com
    ns4.mydns.com

    Now you may ask why dont your change them all, well I have 7000 domains in the cluster. Can I ask for your advice on how to automate the task ?

    Thanks
     
  2. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hi ,

    We can acheive your request with some automated scripts without any down time.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    And I ask "why don't you change them all?" :rolleyes:

    Apparently you must be thinking you have to manually type in the changes to every zone file or you wouldn't be asking the question. LOL

    You do know you could update all your zone files with a single sed command or replace pipe, right?

    If you want to add reporting or split updates in batches, you could write a small script but no matter how you do this, it's all of 2 seconds to issue the command to update all your zone files on your servers.
     
Loading...

Share This Page