Improvements on DNS validation