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

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

11 Responses

  1. Vinod B says:

    Hi,

    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.

    Regards,
    Vinod

    • Ravi Saive says:

      @Vinod,

      May be the issue with their network setup, try to use same dig and nslookup commands from other network sources and see any issues..

      • Vinod B says:

        Hi Ravi,

        Thanks for your update. Apart from this, is there any logs which I can investigate to find when the issue is happening. Since it is inttermittent issue and currentky the resolution is happening.

        Regards,
        Vinod

        • Ravi Saive says:

          @Vinod,

          Unfortunately, there isn’t any logs for dig and nslookup requests, you need to find out yourself the issue..

  2. Santosh Lohar says:

    nice Article Ravi

  3. shree says:

    The commands used to troubleshoot DNS activity are
    a) NSLOOKUP
    b) IPCONFIG /registerdns
    c) IPCONFIG /displaydns
    d) All the Option
    can i get the ans pls

  4. Antonio Guimaraes says:

    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

    • Ravi Saive says:

      Is your /etc/resolv.conf file has proper dns entries? If no, add your network DNS entries to this file and try again.

  5. sushant says:

    excellent !but i am not getting reply usally if i raise any query ?? :(

  6. MAC says:

    I remember hearing nslookup was going to be depredicated is this still the case. I know dig was pushed before, can anyone give an update.

    thanks

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's