CEH v10 Dig in Linux

Hacking Truth

CEH v10 Dig in Linux

Dig Linux

Dig stands for ( Domain Information Groper ) is a network adminstration
command-line tool for querying Domain Name System ( DNS ) name servers.
It is useful for verifying and troubleshooting DNS problems and also to
perform DNS lookups and displays the answer that are returned from the
name server that were queried. dig is part of the BIND domain name
server software suite. dig command replaces older tool such as nslookup
and the host. dig tool is available in major Linux distributions.

DNS is the service that translates a domain name like hackingtruth.in or
google.com to the appropriate IP address; that way, your system knows
how to get to it. Without DNS, we would all have to remember thousands
of IP addresses for our favorite websites—no small task even for a
savant. CEH v10 Dig in Linux

One of the most useful commands for the aspiring hacker is dig ,which
offers a way to gather DNS information about a target domain. The stored
DNS information can be a key piece of early reconnaissance to obtain
before attacking. This information could include the IP address of the
target’s nameserver (the server that translates the target’s name to an
IP address), the target’s email server, and potentially any subdomains
and IP addresses.

For instance, enter dig hackers-arise.com and add the ns option (short
for nameserver). The nameserver for google.com is displayed in the answer

Dig command

For help

dig -h

Querying NS ( name server ) Record for Domain

command :- dig google.com ns

Querying MX Record for Domain

command :- dig google.com mx

Display nothing except short form of answer

dig google.com ns +short
dig google.com mx +short


This was written for educational purpose and pentest only.
The author will not be responsible for any damage ..!
The author of this tool is not responsible for any misuse of the information.
You will not misuse the information to gain unauthorized access.
This information shall only be used to expand knowledge and not for causing  malicious or damaging attacks. Performing any hacks without written permission is illegal ..!

All video’s and tutorials are for informational and educational purposes only. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. We believe that it is impossible to defend yourself from hackers without knowing how hacking is done. The tutorials and videos provided on www.hackingtruth.in is only for those who are interested to learn about Ethical Hacking, Security, Penetration Testing and malware analysis. Hacking tutorials is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used.

All tutorials and videos have been made using our own routers, servers, websites and other resources, they do not contain any illegal activity. We do not promote, encourage, support or excite any illegal activity or hacking without written permission in general. We want to raise security awareness and inform our readers on how to prevent themselves from being a victim of hackers. If you plan to use the information for illegal purposes, please leave this website now. We cannot be held responsible for any misuse of the given information.

- Hacking Truth by Kumar Atul Jaiswal

Video Tutorial :-  



I hope you liked this post, then you should not forget to share this post at all.
Thank you so much :-)

Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !