Several significant improvements
+ getopts usage
+ DEBUG_OUTPUT flag (-d)
+ TEST_ONLY flag (-T) # Do not write to the resolv.conf
+ Attempt to find current DNS domain via `hostname -d`