basic dns validation