removed hardcoded dns

changing to use tm.h defined macro

cleaning up

revert back to tm_byte