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!

Is there any way to rebuild all /var/named/*.db ?

Discussion in 'General Discussion' started by sodapopinski, Aug 1, 2012.

  1. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    90
    Likes Received:
    2
    Trophy Points:
    308
    Got a job from friend whose got mocked by his ex server admin. For some reason, I need to delete all *.db into /var/named dir and let cpanel rebuild it and use the default TTL config from WHM config.

    Is there any way to do it? I did rebuilddnsconfig and rebuildnsdzones and still have no luck yet.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You cannot rebuild the zone files using any of the cPanel scripts for BIND. You can only rebuild /etc/named.conf file itself.

    The script /scripts/rebuildnsdzones is only used for NSD servers that are using it for the nameserver in WHM > Nameserver Selection area.

    The .db files weren't actually deleted, were they? Does a backup of the files exist?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sodapopinski

    sodapopinski Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    90
    Likes Received:
    2
    Trophy Points:
    308
    The /var/named/*.db files are still exist, but all refresh retry expire minimum has wrong (at least not standart value) because edited by ex server admin. If there's no way to rebuild it then I guess I should edit the value manually. Thanks for your info Tris.
     
    #3 sodapopinski, Aug 1, 2012
    Last edited: Aug 1, 2012
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Certainly, you are welcome.
     
    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