DNSResolver is a function type that takes a host and a DNS record type, and returns a promise that resolves to an array of DNS records. It is used to fetch DNS records for a given host and type.
The domain or host for which to fetch DNS records (e.g., "example.com").
The type of DNS record to fetch (e.g., "A", "AAAA", "MX").
DNSResolver is a function type that takes a host and a DNS record type, and returns a promise that resolves to an array of DNS records. It is used to fetch DNS records for a given host and type.