10 Linux Dig (Domain Information Groper) Commands to Query DNS

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Narad Shrestha

He has over 10 years of rich IT experience which includes various Linux Distros, FOSS and Networking. Narad always believes sharing IT knowledge with others and adopts new technology with ease.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

3 Responses

  1. Anax says:

    Thank you man! Very useful article !

    Another trick: it’s possible to use a specific DNS-RESOLVER IP-address, instead those from the system ( /etc/resolv.conf ).

    Below, I queried to the PUBLIC RESOLVER from Google (8.8.8.8):

    # dig @8.8.8.8 http://www.google.com. +short
    189.86.41.103
    189.86.41.109
    189.86.41.84
    189.86.41.118
    189.86.41.93
    189.86.41.98
    189.86.41.104
    189.86.41.108
    189.86.41.99
    189.86.41.119
    189.86.41.113
    189.86.41.123
    189.86.41.88
    189.86.41.89
    189.86.41.94
    189.86.41.114

  2. dan waterloo says:

    thanks… this site has been very helpful, and these examples really shorten the learning curve!

  3. akhilesh says:

    Excellent Stuff !

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 75000+ Linux Users
  1. 51334
  2. 2657
  3. 16705

Enter your email to get latest Linux Howto's