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

    Jan 13, 2002
    Likes Received:
    Trophy Points:
    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 Verifed Vendor

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    The following may help:


    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...

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