Skip to the content.

Interface: CAARecord

Defined in: src/types.ts:100

CAA record - Certification Authority Authorization.

Specifies which certificate authorities are allowed to issue certificates for a domain.

Example

const record: CAARecord = {
  type: "CAA",
  critical: 0,
  issue: "letsencrypt.org",
  ttl: 86400,
};

Extends

Properties

ttl?

optional ttl?: number;

Defined in: src/types.ts:76

Time to live in seconds (optional)

Inherited from

BaseDNSRecord.ttl


contactemail?

optional contactemail?: string;

Defined in: src/types.ts:102

Contact email for the domain


contactphone?

optional contactphone?: string;

Defined in: src/types.ts:104

Contact phone for the domain


critical

critical: number;

Defined in: src/types.ts:106

Critical flag (0 or 128)


iodef?

optional iodef?: string;

Defined in: src/types.ts:108

URL for reporting certificate authority violations


issue?

optional issue?: string;

Defined in: src/types.ts:110

CA authorized to issue certificates


issuewild?

optional issuewild?: string;

Defined in: src/types.ts:112

CA authorized to issue wildcard certificates


type

type: "CAA";

Defined in: src/types.ts:113

The type of DNS record

Overrides

BaseDNSRecord.type