EZ Linux Admin random header image

Repair DNS scripts and tips

March 19th, 2010 by EZ linux · No Comments

Fixing DNS is a tricky thing, with cpanel there is a couple steps to try first.

DNS failed you are not sure why, try this first:

/scripts/cleandns
/scripts/rebuildnamedconf

Still not working, try this:

/scripts/rebuilddnsconfig
/scripts/fixdns

Basically DNS has about 5 files that need to all be in sync for named DNS to run.

I highly recommend running three servers with DNS so you have back ups if one servers fails. In this case you just transfer over the dns files and restart. Here is a list of the DNS files that need to be transferred.

named.conf.cache

named.conf.zonedir.cache

named.conf

named.conf,v

named.conf_back

named.conf.fixrndc

named.conf.prefixrndc

named.conf.rpmsave

Tags: Cpanel and WHM · Linux Software / Scripts

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment