#!/bin/sh # $Id: zonediff.sh,v 1.1 1999/12/13 23:40:22 jshupe Exp $ # # This script will help you convince yourself that this thing really # works. It assumes that you're using your workstation for testing and # your real dns host is named www. # dig @localhost $1 axfr > /tmp/localhost_zone.$$ dig @www $1 axfr > /tmp/www_zone.$$ diff -b /tmp/www_zone.$$ /tmp/localhost_zone.$$ rm /tmp/www_zone.$$ /tmp/localhost_zone.$$