~ubuntu-branches/ubuntu/trusty/nodejs/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/api/dns.markdown

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-12-12 23:04:07 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20131212230407-xfa6gka4c6oatsx1
Tags: 0.10.23~dfsg1-1
* Upstream update.
* Refresh patches, remove 1005 patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
Use `require('dns')` to access this module. All methods in the dns module
6
6
use C-Ares except for `dns.lookup` which uses `getaddrinfo(3)` in a thread
7
7
pool. C-Ares is much faster than `getaddrinfo` but the system resolver is
8
 
more constant with how other programs operate. When a user does
 
8
more consistent with how other programs operate. When a user does
9
9
`net.connect(80, 'google.com')` or `http.get({ host: 'google.com' })` the
10
10
`dns.lookup` method is used. Users who need to do a large number of lookups
11
11
quickly should use the methods that go through C-Ares.