Nslookup command: What it does and how to use it
If you want to do a reverse DNS lookup, you should type the “nslookup” command followed by the IP address of the domain name you want to look up and press “Enter.” You’ll see the domain name beside the “Name” label.
The steps are identical on Linux, except you have to write the commands into the Linux Terminal. ), }, { question: ‘How do I specify a DNS server in nslookup?’, answer: ( The nslookup tool uses your computer’s DNS server by default. However, you can change the DNS server by specifying it in the command line. To do that, type in the “nslookup” command, click “Enter,” and type in “Server” with either the domain name or the desired DNS server inside the brackets. For example:
>nslookup
>server <example.com>
or
>nslookup
>server <1.1.1.1>
), }, { question: ‘What is the difference between nslookup and DNS lookup?’, answer: ( A DNS lookup resolves domain names to their corresponding IP addresses, allowing devices to connect to websites and services on the internet. Meanwhile, nslookup is a command-line tool for manually diagnosing DNS issues, verifying DNS configurations, and gathering DNS information. ), }, { question: ‘What is the difference between an authoritative and non-authoritative answer?’, answer: ( When you get an authoritative answer in the nslookup tool, it means the response was fetched directly from the domain’s own DNS server. The non-authoritative answer means it was retrieved from the DNS server’s cache and not directly from the domain’s DNS server. ), }, ]} />
The post Nslookup command: What it does and how to use it first appeared on NordVPN.