Skip to content

252 - DNS Records

DNS zone record entries. This is an example of a MAML document.

maml
{
  zone: "fussy-linseed.org"
  records: [
    {
      type: "MX"
      name: "api"
      value: "square-patroller.com"
      ttl: 86400
    }

    {
      type: "MX"
      name: "www"
      value: "109.176.80.111"
      ttl: 300
    }

    {
      type: "AAAA"
      name: "api"
      value: "194.125.222.123"
      ttl: 86400
    }

    {
      type: "TXT"
      name: "www"
      value: "negligible-dandelion.org"
      ttl: 86400
    }

    {
      type: "AAAA"
      name: "www"
      value: "140.74.65.60"
      ttl: 300
    }

    {
      type: "NS"
      name: "www"
      value: "jittery-steak.name"
      ttl: 300
    }
  ]
}

See Also