Skip to content

[Feature Request] Add unique identifiers to RRsets in PowerDNS API responses #16379

@amirzp

Description

@amirzp

Summary

PowerDNS API should provide unique identifiers for RRsets to enable better programmatic management and change tracking.

Current API Structure

PowerDNS currently returns RRsets without unique identifiers:

{
  "rrsets": [
    {
      "name": "example.com.",
      "type": "A",
      "records": [
        {
          "content": "1.1.1.1",
          "disabled": false
        }
      ]
    }
  ]
}

Problem

  • RRsets lack unique identifiers
  • Applications cannot reliably track which RRset has changed
  • Difficult to perform precise updates or deletions on specific RRsets
  • Change detection becomes unreliable when RRset content changes

Proposed Solution

Add a unique id field to each RRset:

{
  "rrsets": [
    {
      "id": "UUID",
      "name": "example.com.",
      "type": "A",
      "records": [
        {
          "content": "1.1.1.1",
          "disabled": false
        }
      ]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions