Added checking to ensure the user does actually supply a DNS entity to diagnose