dig +short NS example.com

Category: Web Servers & Proxies

dig +short NS example.com

Show the authoritative nameservers for a domain

Lists the NS records naming the servers authoritative for example.com, which is the first thing to check when DNS changes do not appear. If your provider's nameservers are not listed, updates there will not take effect. Pair with dig example.com +trace to watch a query walk the tree.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.