The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Rebuild DNS

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

  1. wadearnold

    wadearnold Well-Known Member

    Joined:
    Jan 13, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page