Author Topic: [Solved] Why no 'dig' command?  (Read 248 times)

Offline jzakiya

  • Hero Member
  • *****
  • Posts: 572
[Solved] Why no 'dig' command?
« on: November 26, 2012, 09:20:21 PM »
I've searched the respos but can't find the 'dig' command.
---------------------------------------------------------------------

 dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.

Although dig is normally used with command-line arguments, it also has a batch mode of operation for reading lookup requests from a file. A brief summary of its command-line arguments and options is printed when the -h option is given. Unlike earlier versions, the BIND9 implementation of dig allows multiple lookups to be issued from the command line.

Unless it is told to query a specific name server, dig will try each of the servers listed in /etc/resolv.conf.

When no command line arguments or options are given, will perform an NS query for "." (the root).
SIMPLE USAGE

A typical invocation of dig looks like:

 dig @server name type

« Last Edit: November 27, 2012, 09:28:13 AM by jzakiya »

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3881
Re: Why no 'dig' command?
« Reply #1 on: November 26, 2012, 09:41:19 PM »
dig is part of the bind package. At least it is for the 9.9.2 test version that I am working on.

Galen

Offline jzakiya

  • Hero Member
  • *****
  • Posts: 572
Re: Why no 'dig' command?
« Reply #2 on: November 26, 2012, 10:29:17 PM »
OK.

I installed the bind-utils package, and there it was!
Learned something new (and useful).  ;D

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5383
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Why no 'dig' command?
« Reply #3 on: November 27, 2012, 05:32:41 PM »
OK.

I installed the bind-utils package, and there it was!
Learned something new (and useful).  ;D

Yep, it has been this way for quite sometime.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!