Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nodejs/undici
/ dns.js
File
dns.js
lib/interceptor/dns.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
2
const
{ isIP } = require(
'node:net'
)
3
const
{ lookup } = require(
'node:dns'
)
4
const
DecoratorHandler = require(
'../handler/decorator-handler'
)
Callers
nothing calls this directly
Calls
5
withHostHeader
Function · 0.85
runLookup
Method · 0.80
getHandler
Method · 0.80
onResponseError
Method · 0.65
dispatch
Function · 0.50
Tested by
no test coverage detected