constellation-project/django-dnsmanager

Extract zones from manage.py script

ynerant opened this issue · 1 comments

Currently, zones can be extracted from a Django view.
This would be nice to have a manage.py script that dumps zone data.
We may also want to filter/exclude record types, for any reasons.

I created a view to dump the zone because then you can curl directly the zone. I think it would be nice to have a manage.py dumpzone command for debugging purposes, but I don't really want users to start installing the Django project directly on the DNS server. Why do you want this?

We may also want to filter/exclude record types, for any reasons.

I agree, I am curious to know how this would be useful though. What do you propose? Should we use GET arguments to filter specific attributes?