Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DsRecord

import type { DsRecord } from "https://googleapis.deno.dev/v1/domains:v1.ts";

Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.

interface DsRecord {
algorithm?:
| "ALGORITHM_UNSPECIFIED"
| "RSAMD5"
| "DH"
| "DSA"
| "ECC"
| "RSASHA1"
| "DSANSEC3SHA1"
| "RSASHA1NSEC3SHA1"
| "RSASHA256"
| "RSASHA512"
| "ECCGOST"
| "ECDSAP256SHA256"
| "ECDSAP384SHA384"
| "ED25519"
| "ED448"
| "INDIRECT"
| "PRIVATEDNS"
| "PRIVATEOID";
digest?: string;
digestType?:
| "DIGEST_TYPE_UNSPECIFIED"
| "SHA1"
| "SHA256"
| "GOST3411"
| "SHA384";
keyTag?: number;
}

§Properties

§
algorithm?: "ALGORITHM_UNSPECIFIED" | "RSAMD5" | "DH" | "DSA" | "ECC" | "RSASHA1" | "DSANSEC3SHA1" | "RSASHA1NSEC3SHA1" | "RSASHA256" | "RSASHA512" | "ECCGOST" | "ECDSAP256SHA256" | "ECDSAP384SHA384" | "ED25519" | "ED448" | "INDIRECT" | "PRIVATEDNS" | "PRIVATEOID"
[src]

The algorithm used to generate the referenced DNSKEY.

§
digest?: string
[src]

The digest generated from the referenced DNSKEY.

§
digestType?: "DIGEST_TYPE_UNSPECIFIED" | "SHA1" | "SHA256" | "GOST3411" | "SHA384"
[src]

The hash function used to generate the digest of the referenced DNSKEY.

§
keyTag?: number
[src]

The key tag of the record. Must be set in range 0 -- 65535.