erldns_admin_root_handler (erldns v10.5.4)

View Source

Support for the erldns Admin API root resource at path /.

The following is implemented:

  • DELETE: Reset all listener queues

  • GET: Returns name and version information for all zones in the cache.

    The response JSON body looks like the following:

      {
        "erldns": {
          "zones": {
            "count": 2,
            "versions": [
              {
                "name": "example.com",
                "version": "v1.2.3"
              },
              {
                "name": "example.org",
                "version": "v4.5.6"
              }
            ]
          }
        }
      }