Hi. I used this pretty simple file for years to take care of the problem. I know this is not fool proof, but something like this could be used in Mandrake.
cat /etc/cron.monthly/hints_updater.sh #!/bin/sh the_url="ftp://ftp.rs.internic.net/domain" the_file="named.cache" the_dir="/CHROOT/named/var/named" the_hostname=`hostname` mkdir -p /tmp/hints_updater.tmp cd /tmp/hints_updater.tmp wget -q $the_url/$the_file the_diff=`diff -u /CHROOT/named/var/named/named.cache /tmp/hints_updater.tmp/named.cache` if ! [ -z "$the_diff" ]; then echo "Attention root!" echo "I just downloaded the latest $the_file from" echo "$the_url, and this file differs" echo "from the old one in the $the_dir directory." echo "" echo "The following shows clearly what has changed" echo "------------------------------------------------------------------" echo "$the_diff" echo "------------------------------------------------------------------" echo "" echo "However, I will update $the_file anyway and restart bind." mv /tmp/hints_updater.tmp/named.cache /CHROOT/named/var/named/ cd / rm -rf /tmp/hints_updater.tmp /etc/rc.d/init.d/named-chroot restart fi ----- Original Message ----- From: "[Bug 1442]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 11:25 AM Subject: [Cooker] [Bug 1442] [bind] named.ca out of date > https://qa.mandrakesoft.com/show_bug.cgi?id=1442 > > [EMAIL PROTECTED] changed: > > What |Removed |Added > -------------------------------------------------------------------------- -- > Status|UNCONFIRMED |NEW > Ever Confirmed| |1 > > > > ------- Additional Comments From [EMAIL PROTECTED] 2003-02-10 11:25 ------- > Indeed root zone needs updating: > http://slashdot.org/article.pl?sid=02/11/07/1613256&mode=thread > > The updated file is at: > ftp://ftp.rs.internic.net/domain/named.root > > > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > > > ------- Reminder: ------- > assigned_to: [EMAIL PROTECTED] > status: NEW > creation_date: > description: > Th file named.ca in Mandrake 9.1 beta 3 is out of date. > The last version is 20021105. > The difference between this two files is that the J-ROOT-SERVER has changed. > >
