Check DNS TXT Records
Quick way to get DNS TXT records under Linux is use the dig command:
To look up DKIM or DMARC records, you specify the prefix in the domain such as:
Linux or Windows 7 DOS shell can be used to retrieve the DNS TXT records for a domain using the same command:
> server google-public-dns-a.google.com
> set type=txt
The result is:
google.com text = "v=spf1 include:_netblocks.google.com ip4:18.104.22.168/31 ip4:22.214.171.124/31 ~all"
server directive in the command above allows us to check the DNS TXT records using the DNS server where the timeout problem is occurring. Without this directive, you would be troubleshooting against your own local DNS server such as that provided by your ISP.