Questions tagged [dig]

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

213 questions
2
votes
0 answers

dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory

Hello I'm on my server and i try to enable https, but i have this error dig: error while loading shared libraries: libdns.so.162: cannot open shared object file: No such file or directory I 've find this similar question but I don't reach to solve…
2
votes
1 answer

DNS issue on macOS

I'm encountering a weird DNS issue on macOS Catalina 10.15.4: traceroute google.com and ping google.com both returned unknown host. However, nslookup google.com and dig google.com returned correct results with correct DNS servers (I'm using 8.8.8.8…
Qi Xi
  • 63
  • 2
  • 9
2
votes
1 answer

How to get domain zone of the DNS A record using Ansible dig

Basically I have a simple server name ( non FQDN ) and im trying to identify in which DNS zone it has A record We have multiple DNS zones in our environment. As i cant rely on PTR records im trying to use DIG module to look for a A record with zone…
Marek
  • 127
  • 1
  • 8
2
votes
0 answers

Infinity in the request urls

Did anyone had problems with request URLs that finish with Infinity? Happens that our server logs are receiving somehow, someway requests with this pattern. I don't know if is a pattern or any kind of computation that returns an overflow, or if is…
Ricardo Ribas
  • 409
  • 4
  • 14
2
votes
1 answer

dig NS and nslookup give outdated nameservers; +trace or whois are correct

Some time ago (months), I updated the nameservers for a number of domains I control; both the old and new nameservers are run by the same hosting company. The NS records are correct with the registrar, and the correct records are shown by a whois…
Dan W
  • 131
  • 8
2
votes
2 answers

How can I control de output in bash using dig?

I using the following bash to get DNS records of multiples domains inside domains.txt #!/bin/bash for domain in $(cat domains.txt); do dig @8.8.8.8 $domain ANY +multiline +noall +answer +nocmd; done Current dig output is: ; <<>> DiG 9.8.3-P1 <<>>…
pancho
  • 176
  • 1
  • 2
  • 13
2
votes
1 answer

dig +short doesn't work when querying root DNS server?

I've found that if I query a UK root DNS server directly (e.g 195.66.240.130) it provides a result in 2-5ms vs querying a regular DNS server which takes 15-40ms. However, for some reason the +short option doesn't work when querying…
Stevie
  • 245
  • 4
  • 9
2
votes
0 answers

Why Digging my Route 53 registered domain does not work?

I have registered the domain lohce.com a year before (2016) on Route 53 and I have create a Record Set A to guide a traffic from the www.lohce.com to my EC2 instance. Everything went fine. Recently I decided to turn off the instance and create…
2
votes
1 answer

Mismatch in the number of ADDITIONAL RECORDS in dig query

While doing the DNS query through dig utility, sometimes i got Additional records in the results while sometimes not. This is very much normal. But today i saw something interesting in the output of the dig. While querying for fb.com domain, i got…
Gaurav Kansal
  • 281
  • 3
  • 17
2
votes
0 answers

DIG returns IP value consistently when run from shell, not from bash script

I run this script every 15 minutes to record the IP of four dynamic hosts I have setup at duckdns.org. DUCKDNS=( "sub1.duckdns.org" "sub2.duckdns.org" "sub3.duckdns.org" "sub4.duckdns.org" ) function resolveIP () { …
2
votes
1 answer

Bash, convert IP address in batch

I wanna convert a list of domain to the IP address using bash scripts in OSX. I created a list file to present the domain line by line like this www.google.com www.yahoo.com www.facebook.com I used the following scripts to lookup the IP…
Johnny Wong
  • 105
  • 1
  • 2
  • 9
2
votes
2 answers

What does it mean when a "dig" command with "+nssearch" option returns nothing?

When I run the following dig command on www.google.com with the +nssearch option I get no results: mac$ dig www.google.com +nssearch mac$ Can someone explain why no data is returned here? The +nssearch option reads the SOA of all the authoritative…
John
  • 398
  • 1
  • 4
  • 15
2
votes
1 answer

Erase Pixels From Sprite Cocos2d-JS

I'm getting the feeling this won't be possible, but worth asking anyway I guess. I have a background sprite and a foreground sprite, both are the same size as the window/view. As the player sprite moves across the screen I want to delete the pixels…
Varrick
  • 627
  • 1
  • 6
  • 11
2
votes
2 answers

bash script to perform dig -x

Good day. I was reading another post regarding resolving hostnames to IPs and only using the first IP in the list. I want to do the opposite and used the following script: #!/bin/bash IPLIST="/Users/mymac/Desktop/list2.txt" for IP in 'cat…
user1141869
  • 33
  • 1
  • 2
  • 5
2
votes
1 answer

Checking for domain availability in bash with dig

I am currently trying to write a script that will write out domains that it detects are available. The first idea was to write out any that include "NXDOMAIN", but this ended up including domains that I found I couldn't register.. so I added a…
Jack
  • 301
  • 3
  • 14