6. DNS Tools
nslookup
The "name server lookup" tool is used to query name servers to find information about resource records. Let's find where the name server for google.com is:
[email protected]:~$ nslookup www.google.com
Server: 127.0.1.1
Address: 127.0.1.1#53Non-authoritative answer:
Name: www.google.com
Address: 216.58.192.4
dig
Dig (domain information groper) is a powerful tool for getting information about DNS name servers, it is more flexible than nslookup and great for troubleshooting DNS issues.
[email protected]:~$ dig www.google.com; > DiG 9.9.5-3-Ubuntu > www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADERpre >
Alıştırmalar
Read up on the manpage for dig.