Skip to content

Who forgot to update named.root ?

December 5, 2008

Me.

So the latest script added to my list of cron jobs running on my home server is:

#!/bin/ksh  TMPDIR=/tmp/named_check_$$.$RANDOM  trap "cd / && test -d $TMPDIR && rm -r $TMPDIR" EXIT mkdir $TMPDIR || exit cd $TMPDIR || exit  wget -q ftp://ftp.internic.net/domain/named.root if ! cmp -s named.root /var/named/db.cache then         mv named.root ~         mailx -s "new named.root file " $LOGNAME << EOF  There is a new named.root file in ~/named.root it needs to be verified and then installed as /var/named/db.cache.   EOF fi 

All after the internet broke in the house. My initial suspicion that one of the kids had typed google into google was wide of the mark. My old named.root file was old, really, really old. So now I’m checking once a month that my named.root file is upto date

Advertisements

From → Solaris

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: