|
by Senor Barborito 02/08/2003, 7:32pm PST |
|
 |
|
 |
|
dig is a UNIX commandline tool that allows a user to directly view a requested domain's DNS information in raw format off any DNS server.
You know how you'll sometimes hear from good MS admins that they have this vague sense that equivalent *NIX admins 'sort of know their shit better' (obviously a wild generalization) or that they 'understand what's really going on underneath better'? dig is a perfect example of why this vague belief continues to exist - the commandline & standard utilities properly mastered (and I fully admit to being a complete beginner) are the most powerful tool in existence. It is impossible to seperate full knowledge of how the Internet *really* works, to a large extent, from the ability to use this tool.
Is it annoying to have to edit an httpd.conf file by hand in a program that makes MS edit.com look user-friendly? Yeah, it is. But do you learn a whole hell of a lot more by doing so than you do in your six-clicks IIS setup?
Answer left as a reader exercise.
--SB
Thanks to Entropy Stew for teaching/reminding me a lot of things during the creation of caltrops, btw.
Example of dig for the curious, btw (caltrops.com digging itself, my comments prefixed with '<--'):
$ dig @206.124.128.1 caltrops.com any <-- dig [@server] domain [query-type] [query-class]
; <<>> DiG 2.2 <<>> @206.124.128.1 caltrops.com any
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41371
;; flags: qr rd ra; Ques: 1, Ans: 3, Auth: 2, Addit: 0
;; QUESTIONS:
;; caltrops.com, type = ANY, class = IN
;; ANSWERS:
caltrops.com. 21387 A 206.124.137.13 <-- Your Answer Lies Here, Zebco
caltrops.com. 21387 NS dns22.register.com.
caltrops.com. 21387 NS dns21.register.com.
;; AUTHORITY RECORDS:
caltrops.com. 21387 NS dns21.register.com. <-- Start Of Authority (SOA)
caltrops.com. 21387 NS dns22.register.com.
;; Total query time: 47 msec
;; FROM: caltrops.com to SERVER: 206.124.128.1
;; WHEN: Sat Feb 8 16:19:32 2003
;; MSG SIZE sent: 30 rcvd: 123
$
|
|
 |
|
 |
|
|
|
NO MORE SENORB CHAT? by Zebco Fuckface 02/07/2003, 2:30am PST 
None I'm afraid by Senor Barborito 02/07/2003, 2:54am PST 
Ok, but why does irc.caltrops.com resolve? N/T NT by Zebco Fuckface 02/08/2003, 2:27am PST 
USE 'DIG' YOU *NIX-IGNORANT FUCKER. *.caltrops.com resolves -NT- by Senor Barborito 02/08/2003, 7:11pm PST 
Explanation for the weak by Senor Barborito 02/08/2003, 7:32pm PST 
Re: Explanation for the weak by bastage 02/08/2003, 11:05pm PST 
That's fucked up by Senor Barborito 02/08/2003, 11:54pm PST 
Re: That's fucked up by bastage 02/09/2003, 12:33am PST 
Well, I was wrong on one count but not that one by Senor Barborito 02/09/2003, 2:11am PST 
*ahem* by Lufteufel 02/09/2003, 12:29am PST 
Well played, my enemy, well played . . . NT by Senor Barborito 02/09/2003, 2:13am PST 
Because I threw it in for shits n' giggles -nt- NT by Entropy Stew 02/09/2003, 2:59am PST 
Re: Because I threw it in for shits n' giggles -nt- by bastage 02/09/2003, 8:02am PST 
A hilarious bit of parallel threading there N/T NT by Zebco Fuckface 02/09/2003, 7:31pm PST 
Fucking Nancy Drew Clousseau faggots -nt- by Entropy Stew 02/09/2003, 10:42pm PST 
|
|