MCPcopy Create free account
hub / github.com/nodejs/node / dns.js

File dns.js

deps/undici/src/lib/interceptor/dns.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict'
2const { isIP } = require('node:net')
3const { lookup } = require('node:dns')
4const DecoratorHandler = require('../handler/decorator-handler')

Callers

nothing calls this directly

Calls 7

isIPFunction · 0.85
withHostHeaderFunction · 0.85
runLookupMethod · 0.80
getHandlerMethod · 0.80
onResponseErrorMethod · 0.65
requireFunction · 0.50
dispatchFunction · 0.50

Tested by

no test coverage detected