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

ResourceRecordSet

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

A unit of data that is returned by the DNS servers.

interface ResourceRecordSet {
name?: string;
routingPolicy?: RRSetRoutingPolicy;
rrdata?: string[];
signatureRrdata?: string[];
ttl?: number;
type?: string;
}

§Properties

§
name?: string
[src]

For example, www.example.com.

§
routingPolicy?: RRSetRoutingPolicy
[src]

Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution).

§
rrdata?: string[]
[src]

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

§
signatureRrdata?: string[]
[src]

As defined in RFC 4034 (section 3.2).

§
ttl?: number
[src]

Number of seconds that this ResourceRecordSet can be cached by resolvers.

§
type?: string
[src]

The identifier of a supported record type. See the list of Supported DNS record types.