La commande nslookup

La commande nslookup permet de consulter les enregistrements DNS d’une table.

pour l’installer sur une CentOS il suffit de faire :

yum install nslookup

Voici quelques exemple d’utilisation


nslookup azylis.net

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: azylis.net
Address: 46.105.76.1

nslookup -query=mx azylis.net

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
azylis.net mail exchanger = 1 mib.azylis.net.

nslookup -type=ns azylis.net

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
azylis.net nameserver = ns11.ovh.net.
azylis.net nameserver = dns11.ovh.net.

nslookup -type=soa azylis.net

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
azylis.net
origin = dns11.ovh.net
mail addr = tech.ovh.net
serial = 2016100700
refresh = 86400
retry = 3600
expire = 3600000
minimum = 300