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!

rebuild named

Discussion in 'General Discussion' started by hostcompany, Jul 21, 2009.

  1. hostcompany

    hostcompany Registered

    Joined:
    Jun 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hi
    I have googled and search the forums but can't find a solution for this one.

    I have a lot of old domains in my /var/named directory and also we have made a number of changes to the domain template and would like to apply that to all domains.

    I have tried running /scripts/cleandns and /scripts/builddnsconf
    but all the old domains stayed there.

    I then deleted the contents of /var/named and ran builddnsconf
    but it has just created the basics and not the actual domains that do exist. (I do have a backup)

    Is there a script I can run that will re-create all the /var/named files?

    Regards
    Anthony
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I'm not aware of one, I think you'll have to modify each zone manually. There are tools to rebuild named.conf, but not to rebuild the actual zone files.

    I wondered if you switched to NSD, emptied /var/named and then switched back to BIND whether it would work, but NSD uses the same zone files in /var/named/.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hostcompany

    hostcompany Registered

    Joined:
    Jun 1, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
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