The provision_dns module doesn't seem to hook into the site creation process at all. The action log says the module is loaded:
Loading provision_dns on request
... but no record is added to the zonefile (example.com in my case).
The provision_dns module doesn't seem to hook into the site creation process at all. The action log says the module is loaded:
Loading provision_dns on request
... but no record is added to the zonefile (example.com in my case).
Comments
Comment #1
anarcat commentedNote: the code has been commented out prior to commit. I'll try uncommenting everything.
Comment #2
anarcat commentedUpdate: the dns entry gets added to the database, but not to the file, which is weird because when I add it through the UI, it works.
Comment #3
anarcat commentedI have been able to create a zone with the proper record *if* the zone doesn't already exist.
Comment #4
anarcat commentedThat's a bit weird, because this works on some zones.
This zone was created through the provision UI, and if I create a site in it, it doesn't work (ie. no A record is added).
This zone was created when adding the site test.example.com, and when I created test2.example.com, it worked:
There are subtle differences in the zones that may explain the problem, but I'm not sure this is the cause...
At the very least, there should be a warning or error when writing to the file doesn't work.
Comment #5
anarcat commentedThis is not working at all anymore, see #366814: manage DNS records properly when creating/restoring/verifying/disabling/deleting sites.
Comment #6
anarcat commentedtagging