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 DNS

Discussion in 'Bind/DNS/Nameserver' started by wadearnold, Sep 8, 2005.

  1. wadearnold

    wadearnold Well-Known Member

    Joined:
    Jan 13, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    Is it possible to rebuild default local zones from the users on the server?

    I did a fantastic job of deleting accounts and DNS records from an old server. I had the DNS servers clusetered so the new server lost the zone entries.

    Or even show what local domains do not have zone files so that I can manually create the zones. This was a server consolidation so their are hundreds of domains with only a dozen or so missing.

    Thanks for your help
     
  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
    The following may help:

    /scrtips/rebuildnamedconf

    However, I believe that only works on rebuilding named.conf as long as the zone file is actually present in /var/named. If not, then you're most likely going to need to either readd them individually through WHM or script something yourself.
     
    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