Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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'
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
7
isIP
Function · 0.85
withHostHeader
Function · 0.85
runLookup
Method · 0.80
getHandler
Method · 0.80
onResponseError
Method · 0.65
require
Function · 0.50
dispatch
Function · 0.50
Tested by
no test coverage detected