UNPKG
@zeit/dns-cached-resolve
Version:
latest (2.1.2)
2.1.2
2.1.1
2.1.0
2.0.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.1.1
0.1.0
Caching DNS resolve
github.com/zeit/dns-cached-resolve
zeit/dns-cached-resolve
@zeit/dns-cached-resolve
/
lib
/
resolve6.d.ts
4 lines
(3 loc)
•
169 B
TypeScript
View Raw
1
2
3
4
/// <reference types="node" />
import
dns, {
RecordWithTtl
}
from
'dns'
;
export
default
function
resolve6
(
host: string, resolver:
typeof
dns
):
Promise
<
RecordWithTtl
[]>;