Questions tagged [dig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
175 views

Enabling dynamic DNS updates in iptables

I have a Debian machine behind a wifi router. The machine is running a cron script to restore connectivity whenever a ping to a pre-defined host fails. I have set up iptables so that only the required ...
0
votes
0answers
1k views

nslookup and dig error: connection timed out; no servers could be reached - even when specifying server

I'm on Ubuntu 18.04.3 and my internet suddenly stopped working. I can ping local and WAN ip addresses and I have already restarted the network: sudo service network-manager restart These commands: ...
-1
votes
1answer
52 views

backward nslookup ip in DNS setup centos 8

I setup a DNS server on CentOS 8. But the command "nslookup " has not correct output. The output not contains the nameservers which I set for it.
0
votes
1answer
70 views

Why my web site can't be reached using my domain address?

I have created a DNS server using following files, to map my domain address sudia.com into my VPS server, but it doesn't work and I can't reach to my server using my domain address. also must say ...
0
votes
2answers
871 views

How to force TCP packets for testing DNS?

DNS uses UDP packets normally. However when the response is larger than a certain size, it switches to TCP. It would be very useful if we can specify TCP/UDP when running DNS query commands with DIG ...
0
votes
2answers
139 views

incomplete results on dig trace

According to an example here: https://www.rootusers.com/12-dig-command-examples-to-query-dns-in-linux/ Such a dig trace dig google.com +trace should return such results: ; <<>> DiG 9.9.4-...
0
votes
1answer
70 views

Understanding dig @ip address

What is the role of the ip address in the first dig command? Why are the two results different? What are the values 11 and 60 showing? dig @1.1.1.1 instagram.com AAAA ; <<>> DiG 9.11....
1
vote
0answers
63 views

dig sometimes return SOA sometimes A record

I have a DNS record registered that occasionally will return the A record, but most of the time returns the SOA when I use dig. This record has existed for several weeks and yet it seems to not have ...
1
vote
2answers
354 views

dnsutils deprecated, ldns has drill command but no short option

The dig command is deprecated. I'm using drill from ldns. Drill doesn't seem to have a short option to show only the ip. Does anyone know how I can make it show only the ip and not the other text.
0
votes
1answer
26 views

Dig doesn't print anything on Linux terminal

'dig baidu.com' works fine. But when I execute 'dig NODES.L.ROOT-SERVERS.ORG TXT +short +tcp | head -10',there is nothing printing on terminal. The RFC 7108 saids as following. And I confuse strongly ...
2
votes
1answer
118 views

How can I get the separate IP address of each DNS root-servers' mirrors in the world?

I want to get the separate IP of all the root-servers’ mirrors in the world. We know every mirror has two IP addresses. One is used to support the DNS service and the other is used as its own IP which ...
0
votes
1answer
68 views

Why the dig (Domain Information Groper) use the Groper? [closed]

Why the dig (Domain Information Groper) use the Groper? What' the Groper's meaning there? I queried the dictionary, it is a person name or Epinephelussp. Why in a Computer Terms the dig use the ...
0
votes
1answer
913 views

How dig my local server DNS directly

I created server DNS. I can dig my domain directly and I see that I have correct answer in my local network: dig example.com Why I can't get answer from my domain like dig example.com @...
4
votes
1answer
82 views

What does “dig .” actually query and where are those IPs coming from?

Out of curiosity, I entered dig . today. To my surprise, I got an IP: $ dig . ; <<>> DiG 9.10.3-P4-Ubuntu <<>> . ;; global options: +cmd ;; Got answer: ;; ->>HEADER<&...
1
vote
1answer
175 views

Can dig make a secure zone transfer(axfr) using a Transfer Auth Code (EPP)

My domain name registrar (name.com) provides a Transfer Auth Code to secure DNS zone transfers. the Transfer Auth Code is also known as AuthInfo Code, AuthInfo Code, EPP, Transfer Key, or Transfer ...
0
votes
1answer
337 views

Upgrade 'dig' on Mac OS

It seems I have accidentally broke the dig command on my Mac. Now I have version 0.1.10, how can I safely update this? I can't seem to find any documentation on updating the internally loaded dig ...
0
votes
1answer
457 views

Answer type mismatch query type with dns Dig tool

When I did dns domain query with "dig @server domain type" [root@centos ~]# dig @8.8.8.8 www.google.com aaaa ; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7_5.1 <<>> @8.8.8.8 www.google....
0
votes
1answer
3k views

Why is “dig localhost” so much quicker than “nslookup localhost”?

When looking up the address for localhost, nslookup localhost takes ~15 seconds: $ /usr/bin/time nslookup localhost ;; connection timed out; no servers could be reached Command exited with non-zero ...
1
vote
1answer
318 views

Why Dig returns different results

If I use online dig tool (https://toolbox.googleapps.com/apps/dig/#A/) for google.com. it returns ;ANSWER google.com. 299 IN A 172.217.164.78 i have tried an other online tool (https://www....
0
votes
1answer
468 views

Curiosity about DNS using dig command

I am analyzing the DNS section for the website imgur.com. My doubt is that when I run "dig imgur.com" dig only returns an IP address, if I run again the same command dig returns another IP address or ...
0
votes
1answer
124 views

Why does dig Answer my queries differently?

I am unable to understand why there is a difference in how dig is Answering my queries in the client. I have configured the Zone file as below in DNS $ORIGIN mail.lab.example.com. $TTL 0 @ IN ...
3
votes
1answer
1k views

Why do i get “Got bad packet : FORMERR” from dig?

The first time I run a DNS query such as dig google.com, I get a nice answer. However, subsequent queries returns ;; Got bad packet: FORMERR 55 bytes 25 d8 81 a0 00 01 00 01 00 00 00 01 06 67 6f 6f ...
0
votes
1answer
51 views

Who is resolving the name?

If I do this: » dig m1.dcos ; <<>> DiG 9.10.3-P4-Ubuntu <<>> m1.dcos ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: ...
2
votes
2answers
6k views

How to get latest version of DiG?

After wanting to check some DNS records, I realized that my current version (9.8.3-P1) of DiG, that shipped with Mac OS X (El Capitan 10.11.6), does not support the RR type I need. So now I am ...
0
votes
1answer
54 views

Which DNS configuration is better for a MX record type?

Which DNS configuration is better for a MX record type? 1.- Having a single MX reord type mx.domain.com resolving to a two A record type: MX 10 mail.domain.com. -> A 1.1.1.1 ...
0
votes
1answer
339 views

aws elastic load balancer gives me an ip that doesn't work?

i have configured route 53 & classic elb into some ec2 instances running nginx / puma. even with one instance i get two ip's in my dig output, one of which does not work. sig :: ~ 7 » dig wtf....
0
votes
1answer
1k views

Dig output meaning

I have read several tutorials but none explained what does the number after the query means. youtube.com. 275 IN A 173.194.38.195 For instance, what does 275 mean? Time(ms)? EDIT(source):...
0
votes
1answer
562 views

Centos 7 bind returns nothing

I have tried making a dns server, but when i do the dig command the server returns nothing. I have not had any prior experiences and am only following this tutorial: http://www.itzgeek.com/how-tos/...
1
vote
0answers
139 views

Bind configuration?

When I execute dig static.acer.com I have a different answer than if I use google's DNS. With my dns server : # dig static.acer.com ; <<>> DiG 9.10.3 <<>> static.acer....
0
votes
0answers
140 views

Different responses to DNS query

Can someone help me understand what's happening here? host : static-akamai.gtm.acer.com dig static-akamai.gtm.acer.com : answer with question and authority section, no answer section dig +trace ...
0
votes
1answer
2k views

List all entries (Machines and IP) in local DNS? Basically nslookup for all machines

I'm hoping someone can help. I'm struggling to work this out and hope that there is a simple way around it. I'm trying to get a list of all machines in a local DNS server. For the purposes of my ...
2
votes
1answer
587 views

DIG Unpredictable TTL in DNS

I have discovered that the TTL field in an answer can vary significantly (and often increase) between subsequent queries to the same domain name (and same resolving DNS server). $ dig stackexchange....
4
votes
2answers
5k views

TTL when querying for any record with dig

This question comes from this topic. When I do this I get the remaining seconds until the A record expires in the queried nameserver: dig stackexchange.com However, if I do this I get the ...
0
votes
1answer
2k views

Testing DNS truncated queries over TCP with dig

I want to test if my network supports EDNS0. It means that if the record is bigger than 512byte, the DNS will be over TCP. It will ne truncated at firts using UDP ,the it willbe over tcp. I'm using ...
12
votes
1answer
9k views

Install dig on Ubuntu 14.04

How can I install "dig" on Ubuntu 14.04 minimal ? I tried: apt-get install dig It didn't work. Seems its in some different package included but I don't know which one.
0
votes
1answer
153 views

Dig command: Is the output guaranteed to be sorted?

Let's say I'm trying to lookup the IPs mail.yahoo.com, gmail.com and mail.google.com If I execute: dig @8.8.8.8 +nocomments +noquestion \ +noauthority +noadditional +nostats +nocmd \ gmail....
1
vote
0answers
327 views

Why doesn't my DNS change propagate within the TTL?

Why isn't my DNS propagating correctly? It has a TTL of 3600 seconds, 1 hour, yet it is still resolving to an old IP. It's been at least 10 hours! http://www.onlinedig.com/go-dig/ C:\>nslookup ...
5
votes
2answers
4k views

NSlookup and linux Dig

On linux I can list all entries in the DNS table ending with "80" using: dig axfr my.domain | grep 80 How do I do that with NSlookup on windows? I have tried starting NSlookup and typing ls my....
0
votes
2answers
79 views

Why won't my domain records display even after several hours? [closed]

I updated my domain records to add CNAME records and a TXT record, but even after several days I cannot see them when I query the domain. Screenshot of domain records: Query results: $ dig @dns1....
0
votes
2answers
2k views

Finding out default DNS in OS X Terminal

When doing "nslookup" on a windows machine you get the address of the default DNS you're using (http://gyazo.com/313d1ad31c1927741aa266fc7f8542fc), but for some reason you don't in OS X (http://gyazo....
24
votes
2answers
53k views

How does dig +trace actually work?

When I look at the man page for dig, I get the following: +[no]trace Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. ...
55
votes
1answer
106k views

If Google provides public DNS 8.8.8.8 and 8.8.4.4, who provides 4.2.2.2? [closed]

In the past I was always told by colleagues 4.2.2.2 appears to work faster and have to combine that with Google's public DNS*. Using 8.8.8.8 as primary and 4.2.2.2 as secondary. However, Google only ...
1
vote
1answer
223 views

Mavericks: ping resolves differently from dig

I have BIND9 running on my MBP with a zone for the TLD dev. I then have /etc/resolver/dev setup with the line nameserver 127.0.0.1 so that resolution for that TLD only is performed using my local BIND ...
1
vote
4answers
2k views

How does ping figure out the IP address of a website?

I'm trying to understand better the different network-query tools such as nc, curl, whois, dig, nslookup and at the same time a bit more about the architecture of internet requests, servers, and the ...
1
vote
1answer
2k views

Why are DNS setup guides using private IP addresses in their examples?

I'm attempting to set up BIND9 on my server, and am attempting to follow a guide I have found online. One thing that sets off a warning flag for me is that every guide I've found seems to use private ...
18
votes
7answers
14k views

Is it possible to find out which upstream DNS server my router is querying? (just using dns tools)

Ok, here is the setup: I have a local router which advertises itself as the DNS server over DHCP. The DNS resolver on the router just forwards the requests to the ISP nameservers and caches the reply. ...
0
votes
1answer
720 views

How to use DIG to get full DNS info?

How can I use DIG in one single command to get as much info on a domain name as possible,. including: Subdomans CNAME entries A Records TTL Is this possible with one single command? How can you use ...
0
votes
1answer
388 views

DNS: can't query domain

For some reason I can't query specific domains. Although dig works as it should, nslookup doesn't. home1:/# dig +trace www.capital.gr ; <<>> DiG 9.7.3 <<>> +trace www.capital....
0
votes
0answers
869 views

Belkin N150 local DNS flakey

I'm having issues connecting to the various devices on my network (Mac-heavy, MBP (thunderbolt, not retina, Lion), Macbook (Late 2007, white, Snow Leopard), iPad (3rd gen, iOS6), Apple TV (2nd gen, ...
0
votes
2answers
254 views

What does getting an answer from dig but not from whois imply?

So when I execute this: dig hrndva-omtalb.mail.rr.com I get this: hrndva-omtalb.mail.rr.com. 7208 IN A 71.74.56.122 hrndva-omtalb.mail.rr.com. 7208 IN A 71.74.56.123 hrndva-omtalb.mail.rr.com....