szmarczak / cacheable-lookup

A cacheable dns.lookup(…) that respects TTL :tada:
MIT License
193 stars 29 forks source link

Should `ETIMEOUT` fallback to lookups? #83

Open afharo opened 2 months ago

afharo commented 2 months ago

My app gets timeouts when fetching the DNS resolution from time to time.

I wonder if falling back to the lookup would minimize the impact of these timeouts if the OS managed to resolve it.