Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns: add new DNS resolver and set it as default #1843

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
893d0fc
dns: add new DNS resolver and set it as default
mscdex May 30, 2015
935d2d0
lib,src: add nss module compatibility
mscdex Sep 30, 2015
8bf3a74
dns: add inet6 option compatibility for js dns resolver
mscdex Oct 1, 2015
1319ccf
dns: add rotate option compatibility for js dns resolver
mscdex Oct 1, 2015
424de9f
src: fix string constant names
mscdex Oct 1, 2015
ece6528
src: add missing AsyncWrap provider
mscdex Oct 1, 2015
744ec42
dns: style changes
mscdex Oct 2, 2015
e1b05b9
dns: fix nsswitch status action parsing
mscdex Oct 2, 2015
2747205
dns: get rid of unnecessary array creation
mscdex Oct 2, 2015
d4b01a2
dns: fix retry behavior
mscdex Oct 2, 2015
cb6721c
dns: do parallel lookups
mscdex Oct 2, 2015
464f7ff
test: replace common.hasIPv6 implementation
mscdex Dec 20, 2015
71e50dc
test: remove AsyncWrap provider checks on new DNS
mscdex Dec 20, 2015
11b7bc5
test: assert only on old DNS
mscdex Dec 20, 2015
ab38d2a
dns: use original hostname in errors
mscdex Dec 20, 2015
1e4f701
dns: fix error message style
mscdex Dec 20, 2015
5446e98
lib,src: fix lint errors
mscdex Dec 20, 2015
0c5febb
src: fix bad merge
mscdex Dec 20, 2015
b558ccf
test: fix more lint errors
mscdex Dec 20, 2015
24b4e11
test: fix internet tests for new dns
mscdex Dec 20, 2015
d0ffe5a
dns: fix parsing nsswitch actions
mscdex Dec 20, 2015
e5c37fd
test: listen for potential dns request retries
mscdex Dec 20, 2015
2b4eeda
src: use correct nss module filename on BSD
mscdex Dec 20, 2015
7968274
test: add temporary bypass for AsyncWrap check
mscdex Dec 20, 2015
ef02f36
src: fix compilation for old GLIBC
mscdex Dec 20, 2015
7ef5ac2
dns: fix TODO comment formatting
mscdex Dec 20, 2015
fe7af62
src: fix compilation on Windows
mscdex Dec 20, 2015
014b06c
src: add fallback for GLIBC-specific function
mscdex Dec 21, 2015
e127e21
dns: don't restrict to nameserver for PTR queries
mscdex Dec 21, 2015
7f45565
src: fix compilation on OS X
mscdex Dec 21, 2015
48c3ed6
test: only check syscall property with old DNS
mscdex Dec 21, 2015
9251fda
src: use consistent self_size override
mscdex Dec 21, 2015
abc390a
src: fix segfault and issues from static analysis
mscdex Dec 22, 2015
5faa635
dns: fix UDP bind() usage
mscdex Dec 22, 2015
35a63a8
test: fix AsyncWrap provider check for new dns
mscdex Dec 22, 2015
1c76f54
test: listen for more dns request retries
mscdex Dec 23, 2015
e5bb65b
test: improve internet DNS tests
mscdex Dec 23, 2015
1bc86f9
doc: first go at improving, updating dns docs
mscdex Dec 23, 2015
fa1aef4
doc: document wildcard DNS request type
mscdex Dec 24, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
326 changes: 206 additions & 120 deletions doc/api/dns.markdown

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/dns.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
'use strict';

if (!process.oldDNS) {
module.exports = require('internal/dns');
return;
}

const net = require('net');
const util = require('util');

Expand Down
Loading