fix: prevent danakcorp.com domain to register
This commit is contained in:
@@ -21,7 +21,7 @@ export class DnsService {
|
||||
|
||||
private readonly mailServerDomain: string = "mail.danakcorp.com";
|
||||
private readonly serverDomain: string = "danakcorp.com";
|
||||
private readonly spfRecord: string = `v=spf1 mx include:${this.serverDomain} ~all`;
|
||||
private readonly spfRecord: string = `v=spf1 a mx include:${this.serverDomain} ~all`;
|
||||
// private readonly dmarcRecord: string = `v=DMARC1; p=quarantine; rua=mailto:dmarc@${this.serverDomain}; ruf=mailto:dmarc@${this.serverDomain}`;
|
||||
|
||||
private readonly resolveTxt = promisify(dns.resolveTxt);
|
||||
|
||||
Reference in New Issue
Block a user