erldns_admin_zone_records_handler (erldns v10.5.3)

View Source

Support for the erldns Admin API root resource at path /zones/:zonename/records[/:record_name].

The following is implemented:

  • GET: Returns information about records in a given zone cached in erldns. The response JSON body looks like the following:
      [
          {
              "name": "www.example.com.",
              "type": "CNAME",
              "ttl": 120,
              "content": "example.com."
          },
          {
              "name": "mail.example.com.",
              "type": "MX",
              "ttl": 3600,
              "content": "10 mail.example.com."
          }
      ]