Saúl Ibarra Corretgé
35b9580cd8
dns: introduce lookupService function
Uses getnameinfo to resolve an address an port into a hostname and
service.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Euan
5413d9abe0
doc: Fix typo in dns.resolveSrv docs
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Fedor Indutny
a60a9b0dbd
deps: provide TXT chunk info in c-ares
Provide more information in `ares_txt_reply` to coalesce chunks from the
same record into one string.
fix #7367
11 years ago
Tuğrul Topuz
bddea032b7
dns: add resolveSoa and 'SOA' rrtype
You can now query for SOA records by either passing 'SOA' to `resolve`
or by using the new `resolveSoa`
11 years ago
Gabriel Falkenberg
94c4ba9dd3
doc: change constant to consistent
11 years ago
Ben Noordhuis
ceb8740a63
dns: rename domain to hostname
A follow-up commit will save the domain name on the request object but
we can't call that property 'domain' because that gets intercepted by
src/node.cc and lib/domain.js to implement the node.js feature of the
same name.
To avoid confusion, rename all variables called 'domain' to 'hostname'.
11 years ago
Timothy J Fontaine
8886c6bf62
dns: add getServers and setServers
getServers returns an array of ips that are currently being used for
resolution
setServers takes an array of ips that are to be used for resolution,
this will throw if there's invalid input but preserve the original
configuration
12 years ago
Benjamin Ruston
024a8b0cb4
doc: debugger, dns, http: fix grammar
12 years ago
Erik Dubbelboer
12f77440ef
doc: improve dns module docs
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
cacb28c92c
doc refactor: dns
13 years ago
isaacs
2f148845e8
doc refactor: dns
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Ryan Dahl
c83dda89a4
dns.lookup uses cares_wrap::GetAddrInfo
13 years ago
koichik
56aa2fd4c3
Fix doc - missing dns.resolveNs() and dns.resolveCname()
Fixes #1039 .
14 years ago
Ryan Dahl
839fb8e19b
typos
14 years ago
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago