Exemple: Voici un exemple d'utilisation
mips falken:/d2/users/falken /usr/etc/nslookup
Default Server: mips.alphanet.ch
Address: 193.72.186.3
server whitehouse.gov
Default Server: whitehouse.gov
Address: 198.137.240.100
ls whitehouse.gov
[whitehouse.gov]
Host or domain name Internet address
whitehouse server = gatekeeper.eop.gov
gatekeeper 198.137.241.3
whitehouse server = whitehouse.gov
whitehouse 198.137.240.100
whitehouse server = icm1.icp.net
icm1 192.94.207.66
whitehouse server = icm2.icp.net
icm2 192.80.214.224
whitehouse 198.137.240.100
localhost 127.0.0.1
loghost 127.0.0.1
set querytype=MX
set domain=gov
whitehouse
Server: whitehouse.gov
Address: 198.137.240.100
whitehouse.gov preference = 100, mail exchanger = whitehouse.gov
whitehouse.gov inet address = 198.137.240.100
N'oubliez pas que les adresses entrées sont toujours (pour la résolution) interprétées dans le domaine courant: par exemple, si le domaine est alphanet.ch, entrer whitehouse.gov essayera de résoudre whitehouse.gov.alphanet.ch. On peut changer le domaine ou simplement ajouter un point final: whitehouse.gov..
vulcan schaefer:/users/schaefer nslookup
Default Server: mips.alphanet.ch
Address: 193.72.186.3
set querytype=ANY
alphanet.ch.
Server: mips.alphanet.ch
Address: 193.72.186.3
alphanet.ch
origin = mips.alphanet.ch
mail addr = schaefer.mips.alphanet.ch
serial = 113
refresh = 10800 (3 hours)
retry = 3600 (1 hour)
expire = 604800 (7 days)
minimum ttl = 86400 (1 day)
alphanet.ch nameserver = mips.alphanet.ch
alphanet.ch preference = 0, mail exchanger = mips.alphanet.ch
mips.alphanet.ch internet address = 193.72.186.3