When working with Symantec Messaging Gateway (SMG), you may need to verify whether the system is correctly retrieving DNS records for a specific domain, particularly SPF (Sender Policy Framework) records. This guide will walk you through the steps to check SPF records on SMG using its command-line interface (CLI).
Follow these steps to check SPF records for a domain on SMG:
Log in to the Host's CLI
Access the CLI of the SMG host using SSH or a terminal session.
List Configured DNS Servers
Use the following command to list the DNS servers configured within SMG:
dns-control list
This will display all DNS servers that SMG is currently using.
nslookup
command to check the TXT records, which include the SPF records, for the desired domain:nslookup -type=txt domain.com DNS_IP
Replace:
domain.com
with the domain whose SPF record you want to verify.DNS_IP
with the IP address of the DNS server you want to query (as listed in the previous step).For example, if the domain is example.com
and the DNS server is 8.8.8.8
, the command would be:
nslookup -type=txt example.com 8.8.8.8
v=spf1
.