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!

Migrating Debian DNS server to cPanel DNSonly

Discussion in 'Migrate to cPanel' started by sakaitsu, Nov 30, 2018.

  1. sakaitsu

    sakaitsu Registered

    Joined:
    Nov 27, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Budapest
    cPanel Access Level:
    Root Administrator
    Hi!

    We are currently migrating from our old servers to our new WHM/Cpanel ones.
    We have succesfully done everything so far, only our DNS servers remain with 500+ domains.

    Is there an easy way to import the DNS Zone files to WHM/Cpanel, or we must copy/paste every record manually?


    DNS Server: Debian 6.0 with Bind9

    I can't find a satisfying awnser to this problem

    Has anyone done this kind of migration?

    Thank you for your responses.
     
  2. LucasRolff

    LucasRolff Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    58
    Likes Received:
    45
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    You should be able to simply copy the zone files over to /var/named/ and WHM will read them just fine (unless something changed), however, you'll have to assign the ownership of each zone to the correct user.
     
    cPanelLauren and sakaitsu like this.
  3. sakaitsu

    sakaitsu Registered

    Joined:
    Nov 27, 2018
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Budapest
    cPanel Access Level:
    Root Administrator

    Thank you for your answer.

    I copied a DNS zone file from the old server to /var/named
    renamed the file to match the others (domain.com.db)
    Assigned the ownership to "named"
    reloaded the named service

    It works and I can edit the file in WHM too.
     
    cPanelLauren likes this.
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,791
    Likes Received:
    442
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Thanks for the great answer on this @LucasRolff and @sakaitsu I'm glad you were able to get it resolved. Don't hesitate to let us know if you have any other concerns!
     
    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