Skip to main content

Questions tagged [dig]

The tag has no usage guidance.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

dnsmasq behaving strangely: dig returns result for dns lookup, yet ping reports "host not found"

Since my router does not resolve hostnames of LAN devices, I setup my server to act as a DNS using DNSMASQ. DNS Server Specs ---------------- OS: Ubuntu Server LAN IP: 192.168.1.4 I have a ...
turf's user avatar
  • 1,451
2 votes
1 answer
2k views

Why is dig query time slower on one computer vs another in the same LAN?

To make a long story short, I setup DNS forwarding/caching using dnsmasq built into my router (EdgeRouter). My test command is simple: dig www.example.com On one computer, which happens to be a ...
Ambrose Little's user avatar
1 vote
0 answers
45 views

Is there a streaming endpoint for DNS lookup / IP metadata?

I would like to know all changes of domain names / metadata linked to a given (wide) range of IPs. For now, I execute a batch of scripts that extract regularly the domain name / metadata behind each ...
Olscream's user avatar
1 vote
1 answer
713 views

cannot access github.com

I cannot nslookup github: nslookup github 8.8.8.8 ;; connection timed out; no servers could be reached nslookup github.com ;; connection timed out; no servers could be reached nb: default ns server =...
achille's user avatar
  • 203
1 vote
1 answer
2k views

Can `dig` show me all common record types at once?

Is there a way to have dig request (potentially over several requests) all of the common types of records for a domain at once? dig any domain.com and dig all domain.com seem to be lacking... ...
Qix - MONICA WAS MISTREATED's user avatar
1 vote
0 answers
2k views

Debugging slow & timed out DNS queries

Web pages occasionally fail to load or take a very long time; Chrome will say the error is DNS_PROBE_FINISHED_BAD_CONFIG or DNS_PROBE_FINISHED_NXDOMAIN. I have been able to reproduce this on the ...
Seth's user avatar
  • 111
1 vote
0 answers
772 views

bind fails to resolve FQDN from root hints file

I'm trying to re-lean how to set up a bind named server after many years. I set up a simulated local LAN and ISP using GNS3. I have an internal and external view for DNS. no errors in zone ...
jason dancks's user avatar
1 vote
0 answers
207 views

Fast check if custom TLD is resolvable in

In our mesh network we announce some own top level domains, each community announces its own TLD. I want to check via bash if the top level domains .ffhh, .ffki and .fffl,... can be resolved. I ...
rubo77's user avatar
  • 29.2k
1 vote
1 answer
70 views

What command line tools can be used to manually perform each step of an entire network "conversation"?

I know, I know; the phrase "network conversation" is imprecise almost to the point of meaninglessness. Let's take this specific scenario: I plug in a computer to a DHCP enabled router, open a browser ...
Wildcard's user avatar
  • 36.7k
0 votes
0 answers
23 views

Diagnose and debug bind server configuration lookup with exit line

I'm using dig with dig someserver.com -p 53 @localhost checking if my bind server do what it should. However even if I have a rpz set up with a wildcard like *.com A 127.0.0.1 most of .com replies ...
user3450548's user avatar
  • 2,954
0 votes
1 answer
64 views

Parse results of a "dig" bulk query

We use a security rating service which among other things, searches the world for imposter domains that resemble our domains. So it does find some of those but also finds ones that don't exist. It ...
JetJaguar's user avatar
0 votes
2 answers
797 views

Problems with DNS resolution

i have a problem with DNS resolution. The routing seems to work, because I can ping other servers and traceroute also works. But using dig, i get the a address for 'a.root-servers.net not found error. ...
der-zebastian's user avatar
0 votes
0 answers
1k views

dig a SRV record to host:port format directly?

dig some.domain SRV +short gives me an output like: 1 1 1234 real.location.of.some.host. Is there a way of getting the output directly as real.location.of.some.host:1234, without a couple of cuts or ...
OJFord's user avatar
  • 1,995
0 votes
1 answer
1k views

nslookup/dig not appending domain suffix for SRV searches

I am trying to figure out why doing a SRV record search on Ubuntu will not work without specifically including the FQDN on the end of the address. I have the domain name listed in my resolv.conf ...
tczx3's user avatar
  • 1
0 votes
1 answer
1k views

Dig connection timed out while Ping and nslookup work fine

Whenever I run the command dig, the connection times out and no servers are reached.Specifying the DNS server to query makes no difference. Nslookup and Ping on the other hand seem to be working just ...
user444927's user avatar
0 votes
0 answers
274 views

Can reach local DNS, but remote not

I'm getting nowhere with the following problem: When using my local ISPs DNS server at 192.168.0.1 (for example putting it into /etc/resolv.conf or using it directly with dig google.com @192.168.0.1) ...
manifestor's user avatar
  • 2,483
0 votes
0 answers
43 views

How to query Docker nameservers?

When I try to update my Ubuntu 18.04,I encounter problems Err:13 https://get.docker.com/ubuntu docker InRelease ...
Richard Rublev's user avatar
0 votes
1 answer
853 views

dnsmasq running in namespace can't take queries from within namespace

I've set up a default dnsmasq.conf with essentially no modifications except: listen-address=192.168.42.2 interface=veth1 # Also tried without server=8.8.8.8 And my /etc/hosts looks like this: 127.0....
Torxed's user avatar
  • 3,667
0 votes
1 answer
1k views

Using socat, how to send to and receive from a public DNS server?

In a file called "query.bin" we have stored the data that is transmitted to a public DNS server by the following command. dig +notcp hello.com @8.8.8.8 How can query.bin now be sent to 8.8.8.8 again ...
Ulysses_'s user avatar
-2 votes
1 answer
376 views

Passing Dig command in nmap

I have an issue to take the result of the dig command and pass it to nmap command like: for ip in 'dig mydomain.com -t ns +short' do nmap $ip done
bin harry's user avatar