Skip to content

Creating DNS Records

Optional Parameters:

Name

Subdomain name. Default value: @ (root)

records:
  A:
    - name: example
      address: 172.59.252.100

TTL

Time to live. Default value: 3600

records:
  A:
    - ttl: 7200
      address: 172.59.252.100

Records:

A Record

records:
  A:
    - address: 172.59.252.100

AAAA Record

records:
  AAAA:
    - address: 4c6d:b6db:4af5:b144:2f63:12a1:a11a:ad2e

CNAME Record

records:
  CNAME:
    - target: example.com.

DS Record

records:
  DS:
    - keyTag: 1234
      algorithm: 12
      digestType: 1
      digest: 36b23bba170d6271fb8640d837d394a2

HTTPS Record

records:
  HTTPS:
    - priority: 1
      target: 4c6d:b6db:4af5:b144:2f63:12a1:a11a:ad2e
      parameters: param=1 # optional

MX Record

records:
  MX:
    - priority: 10
      target: mx1.example.com.
    - priority: 20
      target: mx2.example.com.

NS Record

records:
  NS:
    - target: ns1.example.com.

PTR Record

records:
  PTR:
    - target: example.com.

SRV Record

records:
  SRV:
    - priority: 0
      weight: 5
      port: 8080
      target: example.com.

TXT Record

records:
  TXT:
    - content: text