...

/

Exercise: Finding Name Servers

Exercise: Finding Name Servers

In this lesson, we will look at a few command-line tools to lookup domain name servers.

Finding The Authoritative Name Server Using host

Press + to interact
host -t ns google.com

host is a DNS lookup utility. It is normally used to map hostnames to IP addresses. However, with a combination of flags, it can be programmed to perform a myriad of DNS-related tasks.

The syntax of the command above, for instance, is

Press + to interact
host -t ns hostname.com
  • host invokes the host command
  • -t
...