dns: make `dns.setServers` support customized port by XadillaX · Pull Request #13723 · nodejs/node
Make `dns.setServers` parameter may be strings contain IP and port which split by `:`. eg. ``` dns.setServers([ "103.238.225.181:666" ]); ``` And `dns.getServers` will return IP with port if that server is not use default port. Refs: nodejs#7903
added
c++
labels
labels
XadillaX
changed the title
[WIP]dns: make
dns: make dns.setServers support customized portdns.setServers support customized port
refack
previously approved these changes
addaleax pushed a commit that referenced this pull request
allow `dns.setServers` parameter to contain port e.g. ``` dns.setServers([ '103.238.225.181:666' ]); ``` And `dns.getServers` will return IP with port if not the default port. PR-URL: #13723 Refs: #7903 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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)
* **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
allow `dns.setServers` parameter to contain port e.g. ``` dns.setServers([ '103.238.225.181:666' ]); ``` And `dns.getServers` will return IP with port if not the default port. PR-URL: #13723 Refs: #7903 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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
rvagg pushed a commit that referenced this pull request
allow `dns.setServers` parameter to contain port e.g. ``` dns.setServers([ '103.238.225.181:666' ]); ``` And `dns.getServers` will return IP with port if not the default port. PR-URL: #13723 Refs: #7903 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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
allow `dns.setServers` parameter to contain port e.g. ``` dns.setServers([ '103.238.225.181:666' ]); ``` And `dns.getServers` will return IP with port if not the default port. PR-URL: #13723 Refs: #7903 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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
allow `dns.setServers` parameter to contain port e.g. ``` dns.setServers([ '103.238.225.181:666' ]); ``` And `dns.getServers` will return IP with port if not the default port. PR-URL: #13723 Refs: #7903 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>