diggy - v1.1.1
    Preparing search index...

    Function resolveAllRecords

    • Resolves all DNS records for a given host using the specified resolver. This function attempts to resolve all types of DNS records defined in DNSRecordType. If a record type cannot be resolved, it will be skipped.

      Parameters

      • host: string

        The domain or host for which to resolve DNS records (e.g., "example.com").

      • resolver: DNSResolver

        The DNS resolver function to use. It should accept a host and a DNS record type,

      Returns Promise<AnyDNSRecord[]>