Improve manual dns backend error message
This commit is contained in:
@@ -110,7 +110,7 @@ function verifyDnsConfig(dnsConfig, domain, ip, callback) {
|
||||
});
|
||||
}, function (success) {
|
||||
if (stashedError) return callback(stashedError);
|
||||
if (!success) return callback(new SubdomainError(SubdomainError.BAD_FIELD, 'Unable to resolve this domain'));
|
||||
if (!success) return callback(new SubdomainError(SubdomainError.BAD_FIELD, 'This domain does not resolve to the servers IP'));
|
||||
|
||||
callback(null, { provider: dnsConfig.provider, wildcard: !!dnsConfig.wildcard });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user