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
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to