Getting stats with awk, sort and uniq

Saturday, April 14, 2007

I find myself sorting through logs all the time, and I have developed a couple of tricks for pulling the information I need out. With a little awk, sort and uniq magic you can get a great deal of info out of your logs.

Read the rest of this entry »


DNS Change Regression Testing

Wednesday, March 28, 2007

For those who have needed to make a bunch of DNS changes and want to verify what the effect of those changes are, here is a little shell script that does a sort of regression test. Basically, it tells you what changes were made to a zone so you can see if any major mistakes were made.

The usage is simple try dnscheck -? for a list of options. It isn’t the fanciest thing in the world, but for those who need it, it might be helpful.

Open it in your favorite text editor to set the basic configuration options and make it executable and you are on your way.

Read the rest of this entry »