Added -m flag to grep for record values to deal with multiple records with same name causing unneeded zonefile updates; added error check for external IP discovery