Jump to content

10 Linux DIG Command Examples for DNS Lookup


securitybreach

Recommended Posts

securitybreach
Dig stands for domain information groper.

 

Using dig command you can query DNS name servers for your DNS lookup related tasks. This article explains 10 examples on how to use dig command.

 

1. Simple dig Command Usage (Understand dig Output)

 

When you pass a domain name to the dig command, by default it displays the A record (the ip-address of the site that is queried) as shown below.

 

In this example, it displays the A record of redhat.com in the “ANSWER SECTION” of the dig command output..........

 

http://www.thegeekstuff.com/2012/02/dig-command-examples/#

Link to comment
Share on other sites

V.T. Eric Layton

temmushot-1.png

 

Magic Folder? Is that something sold by Ronco? Makes a great Father's Day gift. Act now and get a second one free... just pay S/H. ;)

Link to comment
Share on other sites

securitybreach
nice tool.

ms windows has nslookup, of course.

And so does Linux ;)

╔═ comhack @Cerberus 09:42 PM 
╚═══ ~-> nslookup localhost
Server:        192.168.1.1
Address:    192.168.1.1#53

Name:    localhost
Address: 127.0.0.1

Link to comment
Share on other sites

well, how bout that?

 

betcha windows got it from linux... :D

actually, Unix. Most of the msWindows ip plumbing came from Unix. iirc, somehow Sun ended up with the patent rights and all these things were included in the Sun-Microsoft crosspatent and cash settlements (aside from the java mess that happened a few years later).
Link to comment
Share on other sites

securitybreach
actually, Unix. Most of the msWindows ip plumbing came from Unix. iirc, somehow Sun ended up with the patent rights and all these things were included in the Sun-Microsoft crosspatent and cash settlements (aside from the java mess that happened a few years later).

:thumbup:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...