make *DNSRecords apis take the explicit domain

This commit is contained in:
Johannes Zellner
2017-11-16 22:13:30 +01:00
parent 321bfc6130
commit 27e4f0cb82
4 changed files with 18 additions and 21 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ function startMail(callback) {
];
async.mapSeries(records, function (record, iteratorCallback) {
domains.upsertDNSRecords(config.appFqdn({ location: record.subdomain, domain: config.fqdn() }), record.type, record.values, iteratorCallback);
domains.upsertDNSRecords(record.subdomain, config.fqdn(), record.type, record.values, iteratorCallback);
}, NOOP_CALLBACK); // do not crash if DNS creds do not work in startup sequence
callback();