Improved dns zone input validation