dns api now takes full fqdn instead of subdomain

This commit is contained in:
Johannes Zellner
2017-11-11 22:48:09 +01:00
parent 4edd874695
commit 009b8abf1b
2 changed files with 13 additions and 10 deletions

View File

@@ -328,7 +328,7 @@ function startMail(callback) {
];
async.mapSeries(records, function (record, iteratorCallback) {
domains.upsertDNSRecords(record.subdomain, record.type, record.values, iteratorCallback);
domains.upsertDNSRecords(config.appFqdn({ location: record.subdomain, domain: config.fqdn() }), record.type, record.values, iteratorCallback);
}, NOOP_CALLBACK); // do not crash if DNS creds do not work in startup sequence
callback();