Represents an CNAME record

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

name: string

The name of this record. Must be a FQDN.

For example for a cname: test.mydomain.com

For an a: mydomain.com

proxy: boolean

True if CloudFlare will run requests for this entry via a Proxy. False if it resolves to the A Record associated with it in the chain.

target: string

The target this CNAME record points to e.g. testdomain.com

type: DNSTypes

The type of this record. For example:

  • A
  • CNAME
  • MX
  • NS

Accessors

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

    Returns string

Methods