ping, dig and nslookup

Check whether a server answers and where a domain points.

Also called: DNS, dig, ping, nslookup

Source
General
Language
Bash

In plain English

Useful after changing DNS: it can take minutes to hours before everyone sees the new address.

Example

dig shows the domain still points to the old server; the DNS change is not visible yet.

In code

ping -c 3 alp-see.com
dig +short alp-see.com A
dig +short alp-see.com MX

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30