Questions tagged [dig]

dig performs DNS lookups and displays records matching the specified IP address or domain name.

213 questions
0
votes
1 answer

How to collect IP addresses of specific domain as many as possible?

How to collect IP addresses of specific domain as many as possible? Using nslookup or dig command, there is limitation to collect whole IP address. How can I collect IP address that DNS server is not provided.
Jehyun Shim
  • 91
  • 2
  • 11
0
votes
2 answers

shared libraries of dig and nslookup

I am using centos 6.4. While doing dig or nslookup, I got below error dig google.com dig: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory here is my ldd of dig '# ldd /usr/bin/dig …
Sokphak
  • 21
  • 1
  • 2
  • 5
0
votes
1 answer

Shell pipeline does not function with dig

. This might be a particularly stupid question, but I am new to shell scripting. Sorry for that! I am trying to use the pipeline (to pass the output of the first command to the second one as its input parameter). cat filename.csv |…
lulijeta
  • 900
  • 1
  • 9
  • 19
0
votes
1 answer

PHP taking a long time to resolve hostnames

we're seeing a very odd issue with PHP taking a very long to resolve any hostname, which happens randomly every 5-10 attempts. We have used the following script to check it out...
0
votes
2 answers

question about UNIX dig output

Using the unix dig command, I can get the following MX record: $ dig +nocmd gmail.com MX +noall +answer gmail.com. 1868 IN MX 20 alt2.gmail-smtp-in.l.google.com. gmail.com. 1868 IN MX 40…
eykanal
  • 26,437
  • 19
  • 82
  • 113
0
votes
1 answer

Can I canonicalize a hostname with dig?

My reading of dig's manpage isn't answering this question. Is there a set of command-line options to dig such that I can type dig $WHATEVER my-aname.example.com and have it do a forward lookup for that host's IP and then have it reverse-resolve…
Kevin Riggle
  • 103
  • 1
  • 6
0
votes
2 answers

Dig dual-stack details

I want to see the ip details of a machine that has a dual-stack. I am using dig to do this using the options -A and -AAAA to get the individual answers, and was wondering if there isn't an option to get both of the results with just one query. Thx
Onica Radu
  • 183
  • 2
  • 4
  • 11
0
votes
1 answer

How to install a patch for dig

I have a .diff edns-client-ip patch file for dig, but i dont know how to install it. Any tips? The patch for it is available here- http://wilmer.gaa.st/edns-client-subnet/
-1
votes
2 answers

what does "QUERY" mean in the reponse of dig?

dig qq.com ; <<>> DiG 9.10.6 <<>> qq.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61180 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version:…
focus zheng
  • 345
  • 1
  • 4
  • 12
-1
votes
1 answer

Determining the physical host of a website using dig and curl

This is based on a question asked in the book "Computer Networking: Principles, Protocols and Practice" by Olivier Bonaventure. I've read the man pages of both dig and curl on my Linux terminal, but I can't seem to understand how it will help in…
Ramon Zarate
  • 11
  • 2
  • 3
-1
votes
1 answer

get all the name servers that serve a DNS zone using $dig

I want to find all the name servers that serve a DNS zone (suppose it's google.com). Using $dig, I tried two different queries: $dig +trace google.com The result looks like below: dig +trace I notice there are four NS records, grouped…
seamos
  • 1
  • 3
-1
votes
1 answer

How does getting AAAA record for name server from same name server work?

Doing dig +short @ns1.google.com ns1.google.com AAAA hits ns1.google.com to get IPv6 address for ns1.google.com. From wireshark i can see that the query goes to IPv6 address 2001:4860:4802:32::a which is something i'm actually looking for. Question…
lafolle
  • 99
  • 1
  • 7
-1
votes
1 answer

CloudFlare: Cannot remove TXT record with the value "ca3-xxxxxxxx"

I checked the DNS records on the digwebinterface.com/?hostnames=mydomain.com&type=TXT&ns=resolver&useresolver=8.8.4.4&nameservers= The Dig shows two TXT records but but I don't have the first record: (ca3-0158c3e5584b4fdba369cf3efeb6c56a) Dig…
Jack UK
  • 45
  • 5
-1
votes
1 answer

Is there a dig command to add a record to the dns server?

I am writing a piece of a software to add a dns record, but first I want to sent adding of the record directly on the dns server. I can use dig to query, but what can I use to do a direct add?
-1
votes
1 answer

dig domain ANY return refuse connection to port 53

I tried to run the below dig command: dig www.google.com ANY dig google.com ANY but i always got the respone ;; Connection to 172.16.137.2#53(172.16.137.2) for www.google.com failed: connection refused. I tried many other domains but nothing…
Omar
  • 70
  • 2
  • 14