dns: add resolveAny support by XadillaX · Pull Request #13137 · nodejs/node
added
c++
labels
silverwind
added
the
semver-minor
label
XadillaX
changed the title
[WIP] dns: add resolveAny support
dns: add resolveAny support
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior like `$ dig <domain> any` and returns an array with several types of records. `dns.resolveAny` parses the result packet by several rules in turn. Supported types: * A * AAAA * CNAME * MX * NAPTR * NS * PTR * SOA * SRV * TXT Refs: nodejs#2848
addaleax pushed a commit that referenced this pull request
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior like `$ dig <domain> any` and returns an array with several types of records. `dns.resolveAny` parses the result packet by several rules in turn. Supported types: * A * AAAA * CNAME * MX * NAPTR * NS * PTR * SOA * SRV * TXT Fixes: #2848 PR-URL: #13137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax pushed a commit that referenced this pull request
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior like `$ dig <domain> any` and returns an array with several types of records. `dns.resolveAny` parses the result packet by several rules in turn. Supported types: * A * AAAA * CNAME * MX * NAPTR * NS * PTR * SOA * SRV * TXT Fixes: #2848 PR-URL: #13137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax pushed a commit that referenced this pull request
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior like `$ dig <domain> any` and returns an array with several types of records. `dns.resolveAny` parses the result packet by several rules in turn. Supported types: * A * AAAA * CNAME * MX * NAPTR * NS * PTR * SOA * SRV * TXT Fixes: #2848 PR-URL: #13137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
addaleax added a commit that referenced this pull request
Notable changes:
* **Async Hooks**
* Multiple improvements to Promise support in `async_hooks` have been made.
* **Build**
* The compiler version requirement to build Node with GCC has been raised to
GCC 4.9.4.
[[`23d41f3118`](2abaa86ba8)]
[#13466](#13466)
* **DNS**
* The server used for DNS queries can now use a custom port.
[[`2bb6614904`](8506acc1b5)]
[#13723](#13723)
* Support for `dns.resolveAny()` has been added.
[[`30bc9dc20f`](30bc9dc20f)]
[#13137](#13137)
* **V8**
* The V8 engine has been upgraded to version 5.9, which has a significantly
changed performance profile.
[#13515](#13515)
PR-URL: #13744
addaleax added a commit to addaleax/node that referenced this pull request
This is a bit of a check to see how people feel about having this kind of test. Ref: nodejs#13137 PR-URL: nodejs#13883 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
addaleax pushed a commit that referenced this pull request
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior like `$ dig <domain> any` and returns an array with several types of records. `dns.resolveAny` parses the result packet by several rules in turn. Supported types: * A * AAAA * CNAME * MX * NAPTR * NS * PTR * SOA * SRV * TXT Fixes: #2848 PR-URL: #13137 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
addaleax added a commit that referenced this pull request
addaleax added a commit that referenced this pull request