Fix to validate DNS urls.