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

Missing a Delete Domain Command #7

Open
tibord opened this issue Jan 3, 2012 · 4 comments
Open

Missing a Delete Domain Command #7

tibord opened this issue Jan 3, 2012 · 4 comments

Comments

@tibord
Copy link

tibord commented Jan 3, 2012

Is there an API command to delete the domain and all its records? or at least a command that will delete the domain after all the records have been deleted with the DELETE /api/record/example.com/123 command

@abh
Copy link
Member

abh commented Jan 16, 2012

Yeah, I didn't add that. It seemed like such a dangerous command to have. ;-)

I like the implicit idea you have of requiring all records to be deleted first (maybe absent some sort of "no, really – I want it gone" parameter). What do you think?

@tibord
Copy link
Author

tibord commented Jan 16, 2012

Yes that would be cool. Because if a domain has all the records deleted and somebody tries to delete the actual domain that would be a clear indication that somebody wants it gone. Also it would allow the PowerDNS-API to have a full set of commands for working with PowerDns as it is now you would have to clear out the orphan domains from the db directly, because you can only delete the records of it by using the API.

@christecc
Copy link

A delete domain command would be cool.

@00000SZ
Copy link

00000SZ commented Aug 17, 2013

+1

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

No branches or pull requests

4 participants