node
node copied to clipboard
dns: support dns module in the snapshot
For the initial iteration, only the default resolver can be serialized/deserialized. If dns.setServers()
has been called, we'll preserve the configured DNS servers in the snapshot. We can consider exposing the serialization method if it becomes necessary for user-land snapshots.
Review requested:
- [ ] @nodejs/net
CI: https://ci.nodejs.org/job/node-test-pull-request/46573/
CI: https://ci.nodejs.org/job/node-test-pull-request/46674/
CI: https://ci.nodejs.org/job/node-test-pull-request/46815/
CI: https://ci.nodejs.org/job/node-test-pull-request/46891/
Landed in 8821860f11a94e69ba642d874d3226480a68fc1b
This depends on https://github.com/nodejs/node/pull/44541; I will mark this as "backport-blocked-v16.x"