How to check DNS records (dig, nslookup and online tools)

Look up any DNS record from your computer or a browser, query Traxio’s nameservers directly, and read the results to confirm a change.

Guide2 min readLast updated
On this page
  1. Online tools
  2. On Windows: nslookup
  3. On Mac or Linux: dig
  4. Asking the authoritative server directly
  5. Reading the results

Checking DNS directly is faster and more reliable than refreshing a browser and hoping.

Online tools

A DNS lookup website lets you choose a record type and domain and shows the answer. Global checkers query resolvers in many countries at once, which is useful for watching a change spread.

On Windows: nslookup

Open Command Prompt:

nslookup yourdomain.co.uk
nslookup -type=mx yourdomain.co.uk
nslookup -type=txt yourdomain.co.uk
nslookup -type=ns yourdomain.co.uk

On Mac or Linux: dig

Open Terminal:

dig yourdomain.co.uk A +short
dig yourdomain.co.uk MX +short
dig _dmarc.yourdomain.co.uk TXT +short
dig www.yourdomain.co.uk CNAME +short

+short shows just the answers. Remove it to see TTLs and which server replied.

Asking the authoritative server directly

Bypass every cache by asking Traxio’s nameserver:

dig @ns1.traxio.co.uk yourdomain.co.uk A +short
nslookup yourdomain.co.uk ns1.traxio.co.uk

Reading the results

Authoritative answerYour normal lookupMeaning
New valueNew valueThe change is live
New valueOld valueCorrect; caches haven’t expired yet
Old valueOld valueThe change wasn’t saved, or was made in the wrong place
No answerNo answerThe record doesn’t exist or has a naming error

For the last two, see DNS changes not working.

Prefer to follow along?

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going