Networking & DNS

Check DNS records and propagation with cPanel Track DNS and nslookup

Verify that DNS changes have taken effect: use cPanel Track DNS, nslookup and dig to look up A, MX and TXT records, understand TTL and why propagation takes time.

BeginnercPanel hosting2 min read

After you change nameservers or DNS records, different people may see the old or new value for a while. This is called DNS propagation, and it is really caching: resolvers keep answers for the record's TTL. Knowing how to check what a domain resolves to saves a lot of waiting and guessing.

Before you start

  • Know which record you changed and its expected value, e.g. the A record should be your MdmHost shared IP (shown in cPanel General Information).

Use cPanel Track DNS

  1. Open cPanel → Advanced → Track DNS.
  2. Under Domain Lookup, enter a domain such as example.com and click Look Up. You see its A, MX, NS and other records as seen from the server.
  3. Under Trace Route, click Trace to see the network path from the server to your own connection, which helps when the site is slow only for you.

Check from your computer

On Windows (PowerShell or Command Prompt), macOS or Linux:

nslookup example.com
nslookup -type=MX example.com
nslookup -type=TXT example.com

To ask a specific public resolver, add it at the end, for example nslookup example.com 1.1.1.1 or 8.8.8.8. On macOS and Linux, dig example.com +short gives a compact answer and dig NS example.com shows the nameservers.

Ask the authoritative nameserver

The authoritative nameserver always has the newest value. Query it directly to confirm your change was saved, independent of caches:

nslookup example.com ns1.your-nameserver.example

Use the nameserver names from your MdmHost welcome email. If this shows the new value, the change is correct and you only need to wait for caches.

How long does it take?

ChangeTypical time
Record edit on MdmHost nameserversUp to the old TTL (often 4 hours, many resolvers sooner)
Nameserver change at the registrarA few hours, up to 24–48 hours
New domain registrationUsually under an hour

Tip: Before a planned change, lower the TTL to 300 in Zone Editor a day in advance.

Clear local caches

  • Windows: ipconfig /flushdns
  • macOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  • Browsers keep their own cache; restart the browser or use a private window.
  • Your router and ISP also cache; testing from mobile data shows another view.

Troubleshooting

  • Authoritative server shows old value: the change was not saved, or you edited the zone on the wrong DNS provider. Check which nameservers the domain uses with the WHOIS checker.
  • Some resolvers show new, others old: normal during propagation; wait for the TTL.
  • NXDOMAIN: the record does not exist, or the domain is expired or not yet active at the registrar.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.