add config.adminDomain

This commit is contained in:
Girish Ramakrishnan
2018-01-28 14:19:28 -08:00
parent 3b2f286ac5
commit b2363271aa
8 changed files with 22 additions and 10 deletions

View File

@@ -607,7 +607,7 @@ function ensureDkimKey(domain, callback) {
function txtRecordsWithSpf(callback) {
assert.strictEqual(typeof callback, 'function');
domains.getDNSRecords('', config.fqdn(), 'TXT', function (error, txtRecords) {
domains.getDNSRecords('', config.adminDomain(), 'TXT', function (error, txtRecords) {
if (error) return callback(error);
debug('txtRecordsWithSpf: current txt records - %j', txtRecords);