You Asked: How Do I Use Nslookup in Linux?
Contents

nslookup followed by the domain name will display the “A Record” (IP Address) of the domain. Use this command to find the address record for a domain. It queries to domain name servers and get the details. You can also do the reverse DNS look-up by providing the IP Address as argument to nslookup.

How do you use nslookup?

How To Use NSLOOKUP to View Your DNS Records

  1. Launch Windows Command Prompt by navigating to Start > Command Prompt or via Run > CMD.
  2. Type NSLOOKUP and hit Enter. …
  3. Set the DNS Record type you wish to lookup by typing set type=## where ## is the record type, then hit Enter. …
  4. Now enter the domain name you wish to query then hit Enter..

18 нояб. 2015 г.

How do I view DNS records in Linux?

Checking DNS records using the command line

The most efficient way to check DNS records of the domain is to use a terminal with the command nslookup. This command will run on almost all operating systems (Windows, Linux, and macOS).

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest