| db.cache (DNS) | |||||
| db.cache (DNS) - Home | Part of Home site: http://akakul.co.uk/ Scripts Home |
||||
Welcome to the home of Kuls 'db.cache (DNS)' scriptsThis section deals with DNS db.cache files on Cobalt/Sun RaQ3's & RaQ4's specifically, though is EASILY customizable to regular Linux machines....if the db.cache file (or similar) is not auto-updated.
Receiving messages like this from your /var/log/messages log file?
I did also find a couple more claiming to be emails from craig@iana. But strangley nothing officially announcing or clarifying the first change to the root servers IP's in about 5 years. Well none that i can find !! So what does it all mean? It often means what it says...you are out of date, and is best to sort out if possible, as your server will be slightly slower at resolution for domains it cant find locally or in its search servers. This can happen if/when your local db gets out of sync with the root nameservers. It can also happen if your server cant connect to one of the nameservers correctly. If your server's db.cache/named.root is really is out of date, you could force an update manually to your local cached copy. How to fix this:RaQ3 & RaQ4 compatible, with ANY subsequent version of BIND on the RaQ's. Well this is easy for Cobalt/Sun RaQ3/4's, by using this quick and simple PKG I wrote that can be installed through the web interface: http://scripts.akakul.co.uk/db.cache/UK2Raq.com-db.cache.1.0.3.pkg *OR*
Follow these instructions to acheive the same Goal: su - {ENTER YOUR ROOT PASSWORD WHEN PROMPTED} cd ~ wget ftp://ftp.rs.internic.net/domain/db.cache grep -v "^;\|^$\|^\." db.cache | sort > db.cache.new grep -v "^;\|^$\|^\." /etc/named/db.cache | sort > db.cache.old diff db.cache.new db.cache.old Now if you see ANY results from that last command, then your db.cache file is out of date and you should perform the following: cp /etc/named/db.cache /etc/db.cache.bak-`date +%Y%m%d-%H%M%S` cat db.cache.new > /etc/named/db.cache /etc/rc.d/init.d/named restart NOW tidy up: rm db.cache.old db.cache.new db.cache Refernces:
|
|||||
| © akaKul.co.uk | |||||