bind9

Put this at the end of your .bashrc

function cz {
    zonefile=$1
    zone=$(basename $zonefile .zone)
    named-checkzone $zone $zonefile
}

Then you will be able to use cz to check you zone files.

Example:

cbrown$ cz mpl.com.zone

If you are going to use MyDNS on a VPS you must remove Bind first.  It is preinstalled on most VPS images.

Categories

Archives