dig check dmarc record 1

dig check dmarc record

dig txt _dmarc.somedomain.com

Here is what the above code is Doing:
1. We’re using the dns.resolver.query() method to query the DNS server for the TXT record of the domain.
2. We’re using the dns.resolver.resolve() method to resolve the TXT record of the domain.
3. We’re using the dns.resolver.query() method to query the DNS server for the TXT record of the DMARC record.
4. We’re using the dns.resolver.resolve() method to resolve the TXT record of the DMARC record.

Similar Posts