Setu-TS
    Preparing search index...

    Interface DenoDnsHost

    The Deno.resolveDns surface this resolver needs.

    Declared as two call signatures rather than a generic because the real API is an overload set keyed on the record type: 'SRV' yields records, the address families yield strings.

    0.2.0

    interface DenoDnsHost {
        resolveDns(query: string, recordType: "SRV"): Promise<DenoSrvRecord[]>;
        resolveDns(query: string, recordType: "A" | "AAAA"): Promise<string[]>;
    }
    Index