UNPKG
@multiformats/dns
Version:
latest (1.0.6)
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Resolve DNS queries with browser fallback
github.com/multiformats/js-dns
multiformats/js-dns
@multiformats/dns
/
src
/
resolvers
/
index.ts
9 lines
(6 loc)
•
272 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
DNSResponse
,
QueryOptions
}
from
'../index.js'
export
interface
DNSResolver
{ (
domain
:
string
,
options
?:
QueryOptions
):
Promise
<
DNSResponse
> }
export
{ dnsOverHttps }
from
'./dns-over-https.js'
export
{ dnsJsonOverHttps }
from
'./dns-json-over-https.js'