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!

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:
    156
    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:
    695
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Sydney / Australia
    try this


    /scripts/fixndc
    /scripts/rebuildnamedconf
    and restart named to get the sites back online.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Webjunkie

    Webjunkie Active Member
    PartnerNOC

    Joined:
    May 1, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    156
    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

  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