Skip to content

API record update fail #36

@kayhan89

Description

@kayhan89

Hi all,

I am use PowerDNS-API, Not update dns records.

Case 1 :
www.itnl.com > 10.0.0.1 >> www.itnl.com > 10.0.0.111

Client Send [1]:
curl -X PUT -u endersys:endersys "http://127.0.0.1:3000/api/record/itnl.com/www?name=www&type=A&data=10.0.0.111&ttl=86400"
{
"error" : "record not found"
}

Client Send[2] :
curl -X PUT -u endersys:endersys "http://127.0.0.1:3000/api/record/itnl.com/www?name=www&type=A&data=10.0.0.111&ttl=86400"
{
"error" : "record not found"
}

root@k-Sys:~# curl -X PUT -u endersys:endersys "http://95.211.10.159:3000/api/record/isimtescilnl.com/name=www&type=A&data=10.0.0.1&ttl=86400"
{
"error" : "record not found"
Could you please share with me the correct syntax?

}

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions