improved dns and mx lookup