Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Mon Jan 17, 2022 3:38 pm


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - Debian: -bash: dig: command not found - Installing dig tool
Author Message
Post subject: Debian: -bash: dig: command not found - Installing dig tool  |  Post Posted: Tue Jan 13, 2015 12:13 pm
Minimal installation of Debian Linux does not provide some tools for network troubleshooting like dig, tcpdump, lsof (although netstat can easily be used instead of lsof). Dig is part of dnsutils package.

To install dig under Debian:
Code:
user@host:~# dig
-bash: dig: command not found
user@host:~# apt-get install dnsutils
Reading package lists... Done
Building dependency tree       
...

user@host:~# dig

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36568
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       7075    IN      NS      l.root-servers.net.
.                       7075    IN      NS      c.root-servers.net.
.                       7075    IN      NS      f.root-servers.net.
.                       7075    IN      NS      h.root-servers.net.
.                       7075    IN      NS      e.root-servers.net.
.                       7075    IN      NS      d.root-servers.net.
.                       7075    IN      NS      j.root-servers.net.
.                       7075    IN      NS      i.root-servers.net.
.                       7075    IN      NS      m.root-servers.net.
.                       7075    IN      NS      a.root-servers.net.
.                       7075    IN      NS      g.root-servers.net.
.                       7075    IN      NS      b.root-servers.net.
.                       7075    IN      NS      k.root-servers.net.

;; Query time: 17 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Jan 13 11:10:14 2015
;; MSG SIZE  rcvd: 228
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO