Troubleshooting
Advanced diagnosis of a domain's records with MXToolbox and dig
MXToolbox is a set of tools for reviewing a domain's DNS records. System administrators use it every day, and it is also useful for you to check that a change has been made correctly.
Check a record with MXToolbox
A typical case: you move your email to Google Workspace but the website stays with Hostsuar. To do that you have to change the MX records in the DNS zone editor. How do you know whether it has worked? Go to MXToolbox and type in the search box:
mx:dominio.com
mx is the tag that tells the tool what to check; the domain goes after the colon. The result shows the mail servers and their priority: compare them with the ones your email provider gave you.

To check a TXT record you have just added (a Google verification, for example), the procedure is the same with txt:dominio.com:

These are the most useful checks:
a: IPv4 address of the A record aaaa: IPv6 address of the AAAA record mx: Mail servers and their priorities txt: TXT records of the given name spf: The domain's SPF policy (published in a TXT record) dkim: DKIM record for a selector (dominio.com:selector) dmarc: DMARC policy published in _dmarc cname: Name an alias points to ptr: Reverse lookup of an IP address soa: The zone's start of authority record dns: Checks the delegation and other problems with the DNS servers smtp: Tests the SMTP mail server (port 25) http: Checks that a URL responds over HTTP https: Checks that a URL responds over HTTPS tcp: Tests a TCP connection to a host and port ping: ICMP ping from the MXToolbox servers trace: Traceroute from the MXToolbox servers blacklist: Looks up an IP or host in the blacklists MXToolbox checks asn: Autonomous system of an IP address arin: Information about an IP's address block whois: The domain's registration data
Pay attention to the exact name you query: a TXT at the root, the DMARC at _dmarc.dominio.com and the DKIM at selector._domainkey.dominio.com are different queries. For DKIM you need to know the selector your email provider uses (in cPanel it is default).
For the registration data of .com, .net, .org and similar domains, the official source is ICANN Lookup, which replaced WHOIS in January 2025. .es domains have their own service at DOMINIOS.ES.
If MXToolbox does not show the change
MXToolbox queries through caching servers, so it may take a while to see a recent change. Before waiting, check the most common causes:
- You are editing the right zone. If the domain's DNS is at Cloudflare or another provider, the change has to be made there: modifying the cPanel zone editor does not change anything. To find out where the DNS is, query
dns:dominio.comin MXToolbox: the result starts with the domain's DNS servers. - The domain's DNS servers respond with the new value. Ask them directly with
dig(from the cPanel Terminal, a Mac or Linux):
dig +short dominio.com NS dig @ns1.proveedor.com dominio.com MX +norecurse dig @ns2.proveedor.com dominio.com MX +norecurse
Replace ns1.proveedor.com and ns2.proveedor.com with the servers returned by the first line, and MX with the record type you want to check. If they all respond with the new value, the change is correct and you only need to wait for the cache to expire (the TTL of the old record). If they respond with different values, the problem is in the DNS servers, not in the cache.
If you do not have dig, IPeek's DNS diagnosis shows whether each of the domain's DNS servers responds and whether they are in sync.
You may also find useful
- New domain redirects to dominio.com/cgi-sys/defaultwebpage.cgi Find out why a domain shows cPanel's default page by checking the response, DNS, account and documen...
- Redirect set up in cPanel doesn't work Diagnose a cPanel redirect by checking the response, destination and .htaccess order before moving o...
- Debug errors in WordPress with WP_DEBUG Enable WP_DEBUG in wp-config.php to display WordPress errors or log them to a file and find the caus...
- Query Monitor for debugging WordPress problems Use Query Monitor to link a slow or failed request to specific queries, HTTP calls, hooks and compon...
Something wrong or out of date? Tell us and we will review it.