8 Linux Nslookup Commands to Troubleshoot DNS (Domain Name Server)

nslookup is a command-line administrative tool for testing and troubleshooting DNS servers (Domain Name Server). It is used to query specific DNS resource records (RR) as well. Most operating systems comes with built-in nslookup feature.

Linux Nslookup Commands

This article demonstrates widely used nslookup command in detail. Nslookup can be run in two modes: Interactive and Non-Interactive. The Interactive mode is used to query DNS-Server about various domains and hosts. Non-Interactive mode is used to query about information of a domain or host.

In this article, we have tried to cover nslookup commands which may help you to search (DNS) Domain Name Service related information. Next article will be on Linux Dig command which is Similar to nslookup. If you liked the article please share with your friends and don’t forget to give your valuable feedback’s through comment box.

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

11 Responses

I have a query regarding DNS resolution in Linux. I have entered the DNS servers in the resolve.conf. But the client is complaining that there is intermittent resolution problems. But when I am checking with nslookup and dig not finding any issues. Is there any way i can check the historical DNS resolution errors as to find when these kind issues were happening.

Sr Ravi
Im new in Oracle 11g… a install Centos 6.4 linux in VM VirtualBox 4.2.12 and a could not do de YUM UPDATE… error Canot find a Valid Baseurl for repo base. And also i need know
what have to do next for istall Oracle 11g ..please help me
I want learn that….please.
Thankyou for your time and atencion.
Antony