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
}
]
}
]
}