LCMApps / dns-lookup-cache

An implementation to speed up the nodejs "dns.lookup" method by avoiding thread pool and using DNS TTL cache for particular hostname
MIT License
52 stars 6 forks source link

Not querying all DNS servers #62

Open rhorning opened 4 years ago

rhorning commented 4 years ago

Hello, all.

I've come across an issue that the query is not performed for all DNS servers of the system, which, in my case, resulted in failure since the FQDN was in the second server. Is there a simple way to do that? Maybe a parameter inside the options object.

Otherwise, one solution would be to accept a resolver as parameter, then the user can loop across the servers with no worries, as explained on this link.

Thanks in advance!