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.

Customer removed /var/named and /etc/named.conf -- how to fix?

Discussion in 'General Discussion' started by Webjunkie, Nov 22, 2006.

  1. Webjunkie

    Webjunkie Active Member
    PartnerNOC

    Joined:
    May 1, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    As the subject says, a customer removed our /var/named and /etc/named.conf. Is there a Cpanel script that will rebuild the zone files and then named.conf?

    Thanks.
     
  2. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    try this


    /scripts/fixndc
    /scripts/rebuildnamedconf
    and restart named to get the sites back online.
     
  3. Webjunkie

    Webjunkie Active Member
    PartnerNOC

    Joined:
    May 1, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Backups aren't an option since the customer didn't have backups enabled.

    @gorilla - that doesn't work.

    I think I will probably try to recreate manually.
     
Loading...

Share This Page