-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
What is the problem this feature will solve?
When the dnsOrder
value of the dns module changes, I hope to get the modified value or judge that the value has changed. Therefore, I want to expose getDefaultVerbatim
method or expose a new method getDefaultResultOrder
.
node/lib/internal/dns/utils.js
Lines 278 to 280 in c4103c1
function getDefaultVerbatim() { | |
return dnsOrder !== 'ipv4first'; | |
} |
function getDefaultResultOrder() {
return dnsOrder;
}
What is the feature you are proposing to solve the problem?
Judging whether dnsOrder has changed according to the exposed api.
What alternatives have you considered?
No response
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.