Questions tagged [dig]

dig is a command-line client to make queries against DNS servers, the Internet name servers.

dig is a command-line client that allows you to make queries against DNS servers, which are servers that provide the Internet name service. While querying DNS servers is part of most Internet based applications (like web browsers, chat clients, email tools and so forth), those queries are done by the clients in the background, and without any user intervention. dig allows you to make such queries explicitly from the command-line. This is usually interesting for people that maintain DNS servers and want to test them, or network administrators that want to inspect name resolution in a particular network.

dig is part of the BIND software package, which runs on POSIX platforms, but ports to the Windows platform exist. An alternative tool is nslookup, but dig is usually preferred for its better configurability and scriptability.

This tag should be added to questions that explicitly refer to the dig tool and its workings. Related tags are dns, nslooup, domain-name and bind.

Further information:

215 questions
-2
votes
1 answer

Cached response times from Google Public DNS slow

I noticed very strange but consistent performance behavior from Google Public DNS 8.8.8.8. Even-though a DNS record was cached, the response time was in the range of 20-30ms, which seems high. When I switched over to OpenDNS, cached response times…
Justin
  • 5,008
  • 19
  • 58
  • 82
-2
votes
1 answer

dig shows SERVFAIL , while pointing at nameserver works fine

somewhat similar to this thread, I faced with a problem where dig blah.net (for the sake of simplicity let's call it blah.net) returns status: SERVFAIL This DNS zone is hosted on route53, and I use GoDaddy as registrar - which points to NS records…
Mahyar
  • 107
  • 3
-3
votes
2 answers

What is the difference of dig results between domain and www.domain

I found a domain name which gives different results for following dig commands. Lets assume the domain name is domain.com. Commands: dig domain.com dig www.domain.com Is anyone know what are the reasons for getting different results for this…
Yasiru G
  • 101
  • 3
-5
votes
2 answers

Reverse IP Lookups

When I resolve google.com I get the following ip addresses Name: google.com Addresses: 2607:f8b0:4006:80b::1006 173.194.123.6 173.194.123.0 173.194.123.8 e.t.c However when I pick an ip address from the list and perform…
Le Ray
  • 113
  • 1
  • 3
-7
votes
1 answer

How to use dig to send DNS queries to servers of interest directly? (not through my local DNS resolver)

How can I use dig to send a dns query to servers directly? (not through local DNS resolver).
Daniel Kobe
  • 313
  • 2
  • 3
  • 8
1 2 3
14
15