Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Custom DNS servers with "dns" #249

Closed
fsvehla opened this issue Aug 26, 2010 · 4 comments
Closed

Custom DNS servers with "dns" #249

fsvehla opened this issue Aug 26, 2010 · 4 comments

Comments

@fsvehla
Copy link

fsvehla commented Aug 26, 2010

It would be lovely to be able to specify a custom DNS server.
ares supports such an option (ares_set_servers)

@ry
Copy link

ry commented Aug 30, 2010

Sounds like a good feature. Patches welcome (with CLA) I probably won't get around to it soon.

@tjfontaine
Copy link

There is native-dns which I made, its goal is a drop in replacement for the builtin module. There are two ways of handling custom servers one is to use the Request method it exports to send a specific query to a specific server, alternatively there is a mechanism to customize the servers for basic resolve and lookup queries.

@daviddias
Copy link

Closing this one, @tjfontaine's native-dns offers the requested feature.

@tjfontaine
Copy link

For posterity, not only will native-dns work, but in 0.11 we have dns.setServers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants