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:

223 questions
1
vote
1 answer

DNS setup with BIND

I've recently made a server (it's a VPS hosted on a2hosting) by following these instructions: http://www.howtoforge.com/perfect-server-centos-6.0-x86_64-ispconfig-3 All is working well, except for the DNS. These are my current settings on…
valepu
  • 137
  • 6
1
vote
1 answer

OpenSource NetworkTools Application

Are there any opensource web-application tools like http://network-tools.com/ ? I want to perform DIG, traceroute, ping, telnet, whois etc.
Rubi Naaz
  • 27
  • 1
  • 3
1
vote
2 answers

Can't seem to resolve domain, but can dig it

I've an interesting bug in my master name server. I'm running Fedora Linux, with bind 9.3.4. The server is planned to be replaced, as it's quite old, but I have to make it work in the meantime. The problem is that my name server cannot resolve…
Keith
  • 41
  • 1
  • 6
1
vote
1 answer

dig behavior on RHEL6

dig on RHEL6 has a different behavior than in RHEL5, related to the @server syntax: root@rhel6# dig @some.dnsserver.com any some.example.com dig: couldn't get address for 'some.dnsserver.com': not found It seems it doesn't try to revolve the…
rgmarcha
  • 369
  • 1
  • 6
1
vote
2 answers

Why is my domain failing on some DNS servers?

I'm having some problems with my domains on some DNS servers. For instance, opencraft.org gives a SERVFAIL message on a number of domain servers around the world. It resolves fine from Google's DNS: dig www.opencraft.org @8.8.8.8 ; <<>> DiG…
David Peterson
1
vote
3 answers

SERVFAIL on ANY query

We have a CNAME entry that points to an Amazon Elastic Load Balancer instance. For some reason, my mobile app can resolve this entry on wifi, but not 3G -- I imagine it's talking to a different name server on 3G than Wifi and getting a different…
sehugg
  • 411
  • 1
  • 5
  • 13
1
vote
2 answers

Can the bulk execution of "dig domain mx" on 5000 domains be considered an attack to the network?

I have a database containing a lot of invalid emails. I want to remove all the emails whose domain does not have mx record. So after I extracted the domain part I wrote a script to bulk check this for the distinct domains by executing among others…
Marinos An
  • 155
  • 1
  • 8
1
vote
1 answer

A/AAAA returns no answer when SRV record exists for hostname

I have encountered a problem where DNS A queries that would normally be answered by *.fqdn started returning NO ANSWER after I added SRV record for service residing on said hostname. Example: *.jozefmutis.com. 3600 A …
jackar
  • 11
  • 2
1
vote
1 answer

What is the difference between dig +tries=x and dig +retries=x?

I have been looking at the dig documentation and don't understand the difference between dig +tries=x and dig +retries=x. Can someone explain please?
1
vote
0 answers

dig does not show the content of DS, DNSKEY or any DNSSEC related record, SERVFAIL

I want to see the content of records using dig but any RR related to DNSSEC comes up empty. This happens on two laptops of mine. I'm running Ubuntu 18.04. Is there any setting I can fix to stop getting SERVFAILs? Records like DS and RRSIGs are…
Mnemosyne
  • 131
  • 1
  • 7
1
vote
2 answers

dig all txt records

When I run the dig command, I only get one txt record: adriano@vm ~ dig swisspass.ch txt  ✔  4501  14:25:36 ; <<>> DiG 9.11.3-1ubuntu1.13-Ubuntu <<>> swisspass.ch…
Warok
  • 185
  • 1
  • 2
  • 6
1
vote
1 answer

Migrating domain from AWS Route S3 to Linode

I want to migrate 1 domain from AWS Route S3 to Linode; I've changed the NS recods to point to ns1.linode.com ns2.linode.com ns3.linode.com ns4.linode.com ns5.linode.com but on the DNS checket it appears as NOT RESOLVED and when I dig this is the…
1
vote
1 answer

Dig +trace doesn't display the whole delegation chain

When I trace the DNS lookup of google.com for example, dig displays only the request to the root server and then goes straight to the 2nd level domain servers, skipping the top level domain. In other words it goes from a.root-servers.net to…
user603298
  • 11
  • 3
1
vote
1 answer

Are horizontal referrals in DNS allowed?

I've been looking into DNS quite a bit lately and currently got the following error message with the DIG command: BAD (HORIZONTAL) REFERRAL From my understanding, this is caused due to delegating a name lookup without traversing down the "DNS tree".…
Login
  • 13
  • 2
0
votes
1 answer

SRV Record not working GoDaddy HTTPS on separate port

I'm having trouble setting up an office with one public IP and multiple web services running on separate ports. One of the services is a media server and I'm trying to add an SRV record to godaddy in order to avoid confusing the staff with ports.…
Tmanok
  • 197
  • 2
  • 13