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!

Copying DNS zones timeout

Discussion in 'Bind/DNS/Nameserver' started by rzh, May 30, 2011.

  1. rzh

    rzh Registered

    Apr 18, 2011
    Likes Received:
    Trophy Points:
    Good day.

    Can someone help me with my issue? I need to copy many accounts from old server with WHM to new one, and here is the problem:
    when i start copying accounts from old server almost all of them fails because of timeout while copying DNS zones (i receive error "Timed out while running GETZONES", sometimes "(internal error) Unable to get the zone").

    If i use manual copy (with pkgacct) script will also return an error with DNS, but account will be copied successfuly (however, waiting for timeout error takes very much time).

    How can that be fixed?

    named is up and running,
    cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9,
    OS is FreeBSD 6.4
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Jun 25, 2003
    Likes Received:
    Trophy Points:
    Gatineau, Quebec, Canada

    Do you have 'root' access to the two servers? You could copy all accounts from one to the other, and then restore them... that's an option. Not the best. There will be some propagation. For cases like this, I usually:

    - Update all DNS zones to transfer to a low TTL of 900 on the NS;
    - Wait 24 hours (could be as little as 4 hours too);
    - Generate a backup;
    - Copy accounts to destination server /backup/cpbackup/restore folder;
    - Restore accounts;
    - Update DNS zones using the "replace" function in shell;
    - Restart DNS server.

    It's longer and a bit more manual, but it works GREAT. :)

    To consider:

    Are both servers running an updated version of WHM? Make sure they are all up to date on the most conservative platform (STABLE). Just to be safe.

    Make sure your firewalls are off and/or flushed. Just to be safe, again.

    Let me know,
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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