tcollinsworth / axios-cached-dns-resolve

Uses async dns.resolve instead of synchronous dns.lookup, optional cache, and periodic background refreshing
MIT License
39 stars 32 forks source link

Support for hostfile #36

Open andymac4182 opened 1 year ago

andymac4182 commented 1 year ago

Hi,

Would you be open to supporting linux host files as part of this? It would be great to extend this to support host files which is missing from dns.resolve.

Cheers, Andrew

tcollinsworth commented 1 year ago

If you do the research and create a PR I'll review it and merge if acceptable.