Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect payload key on record creation: set_ptr #12

Closed
tkald opened this issue Jul 12, 2019 · 2 comments · Fixed by #13
Closed

Incorrect payload key on record creation: set_ptr #12

tkald opened this issue Jul 12, 2019 · 2 comments · Fixed by #13
Assignees

Comments

@tkald
Copy link

tkald commented Jul 12, 2019

Detailed description

On creating record entries, wrong payload key is used: "set_ptr", should be "set-ptr"

@tkald
Copy link
Author

tkald commented Jul 26, 2019

How do I actually get record added / deleted to / from domain with payload "set-ptr":true ?

@trizz
Copy link
Member

trizz commented Aug 14, 2019

It is currently not possible to filter the records with set-ptr: true from within this package or to get the created PTR record in the response (it is not returned by PowerDNS).

However, you can 'search' in the zone for PTR records like this: $zone->find('example', RecordType::PTR); after you've added the record.

Also please note that according to the PowerDNS docs, the set-ptr method is deprecated and will be removed in 4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants