Ryan Dahl
24a671a8aa
legacy c-ares binding should use legacy timer
14 years ago
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
14 years ago
Bert Belder
d9aa9b54cf
Use timer_wrap instead of the old timer binding
14 years ago
koichik
d4f82ea590
Fix dns.resolve() with 'PTR' throws Error: Unknown type "PTR"
Fixes #1038
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Bert Belder
61af4207da
Fix dns on windows
14 years ago
Ryan Dahl
09329cbb04
more lint
14 years ago
Ben Noordhuis
611dffabb6
Support CNAME lookups in DNS module.
14 years ago
Ryan Dahl
5e11b8a937
De-indent dns.lookup
14 years ago
Ryan Dahl
9c2969253b
Make sure watcher.set() isn't being called when active
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
Aaron Heckmann
7c5cc57ece
quicker loops
14 years ago
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
14 years ago
Paul Querna
c8f9728de7
Move dns.isIP to net.isIP
Add tests and docs.
14 years ago
Rasmus Andersson
cf909e8725
added dns.getHostByAddr() -- resolve an external IP address to hostname(s)
15 years ago
Rasmus Andersson
fd3cd755d1
[dgram] only look up hostname for the requested address family
- [lib/dns.js] dns.lookup takes a new optional argument "family" which
should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a
non-false "family" argument makes c-ares explicitly look up addresses for
the specified family.
- [test/simple/test-c-ares.js] test explicit address family lookups
15 years ago
Matt Ranney
4e50197e53
Datagram socket refactor. Add tests and documentation.
Support setTTL() and setBroadcast() socket options.
15 years ago
Ryan Dahl
0a8bd34b69
Resolve .local domains with getaddrinfo()
C-Ares doesn't go through the Name Service Switch (NSS) and thus can't
resolve certain classes of names. Generally this doesn't matter and the
whole idea of NSS is rather annoying. Nevertheless until C-Ares gets better
support, adding this hack to go through getaddrinfo() for .local domain look
up.
This reverts commit 9926dacd14
.
15 years ago
Jérémy Lal
5caf53a053
Add support for MX queries in dns module, works with c-ares upstream patch.
15 years ago
Tim Caswell
62d9852c3d
Replace slow and broken for..in loops with faster for loops over the keys.
15 years ago
Ryan Dahl
d923c94a0c
Remove udns
15 years ago
Krishna Rajendran
3847add943
Fix calls to dns bindings in dns.js
15 years ago
Ryan Dahl
627fb5adbb
Load c++ modules on demand
15 years ago
Ryan Dahl
c04b679e12
'dns' no longer uses Promise
15 years ago
Blaine Cook
cd6397cc45
Add support for MX, TXT, and SRV records in DNS module.
15 years ago
Ryan Dahl
70293a43c9
API: Move Promise and EventEmitter into 'events' module
15 years ago
Ryan Dahl
8141448fe5
Don't use promises internally in DNS module
15 years ago
Ryan Dahl
36f3bc33a3
forgot to add lib/dns.js in c53672
15 years ago