right now, all operations on the zone files is done through forms, in functions that respond directly through forms.

so if an external module wanted to edit the configuration file, right now it would need to fake a form submission, which is really annoying. it would be better to have a clean API for common modifications.

this is for the Aegir project: http://groups.drupal.org/aegir