[Pdns-users] API issue
Stef Coene
stef.coene at docum.org
Sun Nov 22 11:24:42 UTC 2020
Hi,
I noticed that you can add a record with no content if you specify a
comment.
We use the mysql backend.
This API call works and adds an entry to the comments table:
{
"rrsets": [
{
"name": "test2.test.com.",
"type": "A",
"ttl": "3600",
"comments": [
{
"content": "Test command",
"account": "account 1"
}
],
"changetype": "REPLACE"
}
]
}
I was expecting it would fail because there is no matching entry in the
records table.
Is this normal behaviour?
Stef
More information about the Pdns-users
mailing list