Options, Can Ya Dig it?
Friday, May 27, 2011 3:55:05 AM
http://www.no-ip.com/company/2011/05/16/options-can-ya-dig-it/?utm_source=newsletter&utm_medium=email&utm_campaign=maynews
There are so many things that you can use Dig for! We are going to show you some of the options you can use to make your queries a little easier to digest.
+short
Pretty self-explanatory, by adding this to the end of a query, you will only receive the information that you asked for in your answer. So, if you want to know just the MX records of a domain, type the following query into your terminal
dig no-ip.com MX +short
or the NS records
dig no-ip.com NS +short
or just the IP address
dig no-ip.com +short
or the text records
dig no-ip.com TXT +short
+noall +answer or +noall +authority
+noall +answer or +noall +authority will help you get the answers you want, without making your answer as short as +short. You can use +noall +answer or +noall +authority
dig no-ip.com MX +noall +answer
or
dig no-ip.com MX +noall +authority
or dig no-ip.com (whatever record you are looking for) +noall +answer / +noall +authority
+trace
+trace lists all of the servers the request goes to/through in order to get an answer. Without it, you will just get the answer.
dig google.com +trace
+nssearch
+nssearch will list all of the SOA (start of authority) records of a domain
dig google.com +nssearch
Want to know all of the options?
dig -h will give you the complete list!
There are so many things that you can use Dig for! We are going to show you some of the options you can use to make your queries a little easier to digest.
+short
Pretty self-explanatory, by adding this to the end of a query, you will only receive the information that you asked for in your answer. So, if you want to know just the MX records of a domain, type the following query into your terminal
dig no-ip.com MX +short
or the NS records
dig no-ip.com NS +short
or just the IP address
dig no-ip.com +short
or the text records
dig no-ip.com TXT +short
+noall +answer or +noall +authority
+noall +answer or +noall +authority will help you get the answers you want, without making your answer as short as +short. You can use +noall +answer or +noall +authority
dig no-ip.com MX +noall +answer
or
dig no-ip.com MX +noall +authority
or dig no-ip.com (whatever record you are looking for) +noall +answer / +noall +authority
+trace
+trace lists all of the servers the request goes to/through in order to get an answer. Without it, you will just get the answer.
dig google.com +trace
+nssearch
+nssearch will list all of the SOA (start of authority) records of a domain
dig google.com +nssearch
Want to know all of the options?
dig -h will give you the complete list!






