Skip to content

1555 - DNS Records

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

maml
{
  zone: "lazy-electronics.name"
  records: [
    {
      type: "MX"
      name: "staging"
      value: "4.62.12.210"
      ttl: 3600
    }

    {
      type: "NS"
      name: "www"
      value: "198.11.22.27"
      ttl: 300
    }

    {
      type: "TXT"
      name: "api"
      value: "171.156.43.187"
      ttl: 86400
    }

    {
      type: "AAAA"
      name: "www"
      value: "flawless-director.net"
      ttl: 86400
    }

    {
      type: "TXT"
      name: "mail"
      value: "v=spf1 include:_spf.kooky-expansion.biz ~all"
      ttl: 300
    }

    {
      type: "TXT"
      name: "staging"
      value: "v=spf1 include:_spf.well-worn-instance.org ~all"
      ttl: 3600
    }

    {
      type: "AAAA"
      name: "mail"
      value: "authorized-jellyfish.info"
      ttl: 3600
    }
  ]
}

See Also