valid_name: use different timeouts for hits and misses
This allows misconfigured domains to be resolved in a timely manner while avoiding hitting properly configured domains repeatedly.
This allows misconfigured domains to be resolved in a timely manner while avoiding hitting properly configured domains repeatedly.