axios-cached-dns-resolve
JSON →Axios interceptor that replaces synchronous dns.lookup with async dns.resolve, with optional caching and background refresh. Version 3.3.0 targets Node >=14, ships TypeScript types, and uses ESM only. Key differentiators: configurable TTL, idle eviction, round-robin across resolved IPs, and built-in statistics. Designed for Kubernetes/cloud environments where low DNS TTLs overwhelm default synchronous resolution.
Traffic · last 30 days ↑300% vs prev 7d
total hits 10
actors 4 distinct systems
last hit 12d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇮 Finland
Resources
packageaxios-cached-dns-resolve ↗