edgeport - v1.0.6
    Preparing search index...

    Interface ResolveOptions

    Options for the resolve one-shots (connection + query in one call).

    1.0.4

    interface ResolveOptions {
        dnssec?: boolean;
        port?: number;
        server?: string;
        timeoutMs?: number;
        tls?: "off" | "implicit";
        transport?: "tcp";
        type?:
            | number
            | "A"
            | "NS"
            | "CNAME"
            | "SOA"
            | "PTR"
            | "MX"
            | "TXT"
            | "AAAA"
            | "SRV"
            | "NAPTR"
            | "OPT"
            | "DS"
            | "SSHFP"
            | "RRSIG"
            | "NSEC"
            | "DNSKEY"
            | "TLSA"
            | "SVCB"
            | "HTTPS"
            | "CAA"
            | "ANY";
    }

    Hierarchy (View Summary)

    Index
    dnssec?: boolean

    Set the EDNS0 DO bit to request DNSSEC records.

    port?: number

    Resolver port; defaults to 53 (or 853 with tls: 'implicit').

    server?: string

    Resolver to query; defaults to DEFAULT_RESOLVER. Inside a Worker, pass a non-Cloudflare resolver (RESOLVERS.google / RESOLVERS.quad9).

    timeoutMs?: number

    Query deadline in milliseconds; defaults to 5000.

    tls?: "off" | "implicit"

    Transport security: 'off' (default) or 'implicit' (DNS-over-TLS, port 853).

    transport?: "tcp"

    Transport; only 'tcp' is supported.

    type?:
        | number
        | "A"
        | "NS"
        | "CNAME"
        | "SOA"
        | "PTR"
        | "MX"
        | "TXT"
        | "AAAA"
        | "SRV"
        | "NAPTR"
        | "OPT"
        | "DS"
        | "SSHFP"
        | "RRSIG"
        | "NSEC"
        | "DNSKEY"
        | "TLSA"
        | "SVCB"
        | "HTTPS"
        | "CAA"
        | "ANY"

    The record TYPE to resolve; defaults to A.