Combines DnsMxEntry and DnsBaseCloudflareEntry

This is the type as read from Cloudflare API

Hierarchy (View Summary)

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

id: string

Generated ID from CloudFlare. No validation required

name: string

The name of this record. Must be a FQDN.

For example for a cname: test.mydomain.com

For an a: mydomain.com

priority: number

The priority number of this MX record entry. Must be an integer between 0 and 65535.

server: string

The server in the MX Record. e.g. mx1.testdomain.com

type: DNSTypes

The type of this record. For example:

  • A
  • CNAME
  • MX
  • NS
zoneId: string

ID of the cloudflare zone this record belongs to

Accessors

  • get Key(): string
  • Unique identitier for this entry as a string

    Returns string

Methods