dohdec
    Preparing search index...

    Interface DOT_LookupOptions

    interface DOT_LookupOptions {
        decode?: boolean;
        dnssec?: boolean;
        dnssecCheckingDisabled?: boolean;
        id?: number;
        name?: string;
        rrtype?: RecordType;
        stream?: boolean;
    }
    Index

    Properties

    decode?: boolean

    Decode the response, either into JSON or an object representing the DNS format result.

    dnssec?: boolean

    Request DNSSec records. Currently requires json: false.

    dnssecCheckingDisabled?: boolean

    Disable DNSSEC

    id?: number

    The 2-byte unsigned integer for the request. For DOH, should be 0 or undefined.

    name?: string

    Name to look up.

    rrtype?: RecordType

    The Resource Record type to retrive.

    stream?: boolean

    Encode for streaming, with the packet prefixed by a 2-byte big-endian integer of the number of bytes in the packet.