This is a meta issue to track DNS support development. All DNS issues are tagged with the dns tag.

DNS is being developped on the "dns" git branch on http://git.koumbit.net/, both in hosting and provision. Ask me for access if you want to push directly, otherwise I can pull from your repository or apply patches on issues above. See http://groups.drupal.org/node/26022 for more information on git + aegir.

Please mention you are working on an issue *before* starting work as development is currently active and we do not want to duplicate work.

Comments

anarcat’s picture

Issue tags: +aegir-0.4, +dns

Current status: DNS provisionning works. We have a mostly complete, but very "advanced" frontend interface to edit zonefiles. It's way too complicated for the average user but should satisfy power users (but even then, it would require usability improvements). It also lacks proper permission and access controls. The backend is now able to create rather crude zonefiles and hook them up in bind, if bind is properly configured. The install/delete site tasks do not hook into DNS anymore.

anarcat’s picture

Status update: the code was lost during the CVS->git migration, and I have made an effort to resurrect the branch. I haven't tested any of the new code, and it needs a proper kick in the butt to integrate with teh new server refactoring, but at least it's there (dev_dns branches on provision and hostmaster).

For the curious, note that I had to use git format-patch and git am to reapply the patches. It looked something like this:

 1141  git format-patch 982322c2ad78867ae3ea8fdb9d8989efe711055f..
 1151  rm 0029-588072-spotted-by-kunago-set-a-default-port-when-imp.patch 0030-588724-by-univate-replace-drupal_to_js-with-drupal_j.patch 0031-587308-batch-migration-of-sites-between-platforms.-c.patch 0033-Re-verify-all-the-platforms-and-sites-to-ensure-we-h.patch 
 1144  mv 00* p
 1155  mv p /home/anarcat/src/hostmaster/modules/hosting/
 1156  cd /home/anarcat/src/hostmaster/modules/hosting/
 1157  git am --directory modules/hosting/ p/*

A similar process was applied to provision.

It wasn't possible to simply rebase the branch or import the whole branch because the master branch was merged in it a few times. That is bad practice: we should always *rebase* dev branches master, not merge master in it. The only time when we should use merge with dev branches is when they are ready to hit the master branch.

anarcat’s picture

Version: 6.x-0.4-alpha1 » 6.x-0.4-alpha3

current frontend status:

1. the zone editor still works, but zone verification is broken for an unknown reason
2. the server stuff has been ported to the new server API in the frontend

current backend status: unknown.

anarcat’s picture

Title: meta: DNS support » meta: DNS support phase I
Status: Active » Fixed

So I'm going to close this meta-ticket now. I consider the first phase of DNS development to be complete: we have basic tools to manage zonefiles in the backend and creating/deleting sites creates and deletes records in zonefiles (#366814: manage DNS records properly when creating/restoring/verifying/disabling/deleting sites). Zonefile configs are also synced to slave servers (#366420: DNS slave server support) and the NS records are created in zonefiles according to the slave server configuration. The frontend can configure slaves on the master server.

I'll open more tickets for the next steps.

Status: Fixed » Closed (fixed)
Issue tags: -aegir-0.4, -dns

Automatically closed -- issue fixed for 2 weeks with no activity.