dig is a command-line client to make queries against DNS servers, the Internet name servers.

learn more… | top users | synonyms

-7
votes
1answer
25 views

How to use dig to send DNS queries to servers of interest directly? (not through my local DNS resolver) [on hold]

How can I use dig to send a dns query to servers directly? (not through local DNS resolver).
0
votes
1answer
23 views

Performing DNS queries starting with one of the root servers using dig command [on hold]

I am having trouble understanding the question for my network assignment. The question states: Discover the sequence of DNS servers your local DNS server with empty cache goes through when it ...
1
vote
0answers
21 views

In a BIND.. Weird DNS issue

I have now somehow replicated a weird issue with one of my DNS zones on two different servers and with two different versions of ISC BIND. I have a sub-domain delegated to my server. The first time ...
0
votes
0answers
14 views

Virtual Machine Dig Connection timed no servers could be reached

I have been following this tutorial on how to set up a DNS and DCHP server but am running into some errors which my client. I am trying to set this up on a virtual machine. I am trying to test the ...
-1
votes
1answer
45 views

DIG returns different result from different servers [closed]

Yesterday, one of my domain names expired, so one of my websites was down. I'm well aware of dns caching, but I think there is something I miss. My website was not down everywhere (thanks to dns ...
-1
votes
2answers
40 views

How to find what Authoritative Name Server provided the answer using dig?

I need to check the differences in records on master and slave when making changes. Is there some option for dig to show which Authoritative Name Server provided the answer? for example dig ...
-1
votes
1answer
86 views

Google DNS returns SERVFAIL for domain [duplicate]

Hope someone can help I know the basics of DNS setup, am having an issue with my hosting company. Have several domains hosted, DNS settings are basically setup by the hosting company using their ...
2
votes
1answer
41 views

What are all the flags in a dig response?

dig responses return flags in the comments section: $ dig example.com +noall +comments ; <<>> DiG 9.8.3-P1 <<>> example.com +noall +comments ;; global options: +cmd ;; Got ...
0
votes
1answer
53 views

DNS-SD only discovering services correctly after dig -t any

I have several DNS servers configured for DNS-SD. I am able to register services without issue, however when I try to browse I get errors. I have been testing using dig: Browsing a local or remote ...
3
votes
0answers
100 views

Why does dig +trace seem to ignore the DNS glue records?

Here are my questions: Why does dig +trace ignore the Glue Records? Is this behavior specific to dig or dig +trace, or does a recursive name server also "manually verify" glue records it receives? ...
-5
votes
2answers
65 views

Reverse IP Lookups [closed]

When I resolve google.com I get the following ip addresses Name: google.com Addresses: 2607:f8b0:4006:80b::1006 173.194.123.6 173.194.123.0 173.194.123.8 e.t.c However ...
0
votes
1answer
86 views

Host command returns two different IP addresses when run sequentially

Here's an interesting problem: ~ $ host gitlab.myorg.com gitlab.myorg.com is an alias for aln7git01.myorg.com. aln7git01.myorg.com has address 172.30.9.197 ~ $ host gitlab.myorg.com gitlab.myorg.com ...
1
vote
3answers
432 views

What is the best way to get PRECISE domain name from ip address logged in iptables log

In iptables I am logging certain public IP addresses... say of websites visited from different workstations, depending on destination port number... All this is not really relevant to the question but ...
0
votes
1answer
155 views

How would get an email server reputation via cli or script?

I am trying to monitor email server reputation via cli or script i.e. https://www.senderbase.org/ I found a way supposedly to do it via dig, but the output appears to be very incorrect. It indicates ...
0
votes
1answer
202 views

Using 'Dig' to zone transfer but gets a 'timed out connection'

i am corrently trying to test a zone transfer via dig (9.8.4) with the following command: dig axfr @ns.server.com domainname.com and i get the following error:(notice its not a declined zone ...
0
votes
1answer
332 views

PowerDNS authoritative name server works but non-authoritative name server servfail

In my current role as Devops I have been assigned a few tasks that are new to me including setting up a PDNS server with MySQL backend. After initial setup of the server I tested responses from the ...
1
vote
2answers
737 views

Domain Name Forwarding not working with github pages

I had my blog on github pages with a custom domain name blog.tamizhvendan.in and today I've moved it to a new domain name www.p3programmer.com by updating the CNAME record with www.p3programmer.com. ...
0
votes
1answer
99 views

Where does dig additional section nameserver information come from? [duplicate]

I have a client whose website has intermittent issues, which I believe are due to DNS lookup. When this happens and they do a ping, the host cannot be resolved. Therefore, I ran: dig ...
0
votes
1answer
45 views

dns lookup at different dns servers

when I perform a dig lookup to look for dns record for a domain name, server A gives a non empty dns record, but server B gives nothing. why? is there a more consistent approach? server A # dig ...
2
votes
1answer
494 views

Dig Command on specific server gives different results than querying without specifying a NS

I am currently experimenting with the dig command because I am having issues with my newly registered domain. When I execute dig @dns.dns1.de overminded.de on one of my Debian servers, I am getting ...
2
votes
1answer
149 views

Cannot find solution to “One or more of your nameservers did not return any of your NS records.” on intoDNS site

I have set up DNS on my Linux Centos server and when I test on this site I get the following errors: WARNING: One or more of your nameservers did not return any of your NS records. ERROR: ...
0
votes
1answer
164 views

dig command on linux returning differing results

Running the command dig against a particular domain, returns the previous name server details. For example; domain.com. 41068 IN NS ns1.nameserver1.com. Now if i run the command dig ...
0
votes
1answer
374 views

TTL and Google DNS

I've found a similar post about this, however my user can't comment. I wonder why doing dig @8.8.8.8 domain.com prints out different "countdowns" when running it several times in few seconds, as if ...
3
votes
1answer
165 views

Why does TTL sometimes re-increment between DNS queries?

I dig xkcd.com, and I get something like this back: ; <<>> DiG 9.9.5-3ubuntu0.1-Ubuntu <<>> xkcd.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: ...
-3
votes
2answers
278 views

TTL in ping vs dig

When I ran ping google.com, I get a ttl value of 55: 64 bytes from 173.194.127.103: icmp_seq=68 ttl=55 time=16.4 ms When I ran dig google.com @ns1.google.com., it get a TTL value of 300. ...
3
votes
2answers
1k views

bind not able to query some servers / domains

We have been experiencing problems with our company's DNS server when trying to resolve only certain domains, we are running BIND 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 on a CentOS 6.5 server. We are ...
0
votes
1answer
19k views

Yum PYCURL ERROR 6 - “Couldn't resolve host 'mirrorlist.centos.org'” [closed]

I am attempting to redo my server (CentOS release 6.6 [Final] x86_64) and I am now getting the following output on yum [root@server ~]# yum update Loaded plugins: fastestmirror, priorities, security ...
0
votes
0answers
160 views

Oracle GNS (Grid Naming Service) Breaks DNS

Am running a 2-node Oracle 12.1.0.2.0 ASM Flex Cluster using Oracle GNS which I believe uses zeroconf to create it's adhoc network. Before GNS starts, DNS works, i.e. nslookup, dig, ping, ssh all ...
0
votes
1answer
118 views

Why is host so much slower than dig on some queries?

When querying a particular address, dig as run against the resolvers listed in /etc/resolv.conf will return NXDOMAIN nice and quickly where host will take a while. $ dig @<resolver> ...
0
votes
1answer
370 views

DNS queries fail from local machine running dnsmasq

I have a "sandbox" web server setup for my developers to work on. Each one has their own IP, with all the "production" hostnames configured, and a DNSmasq configuration to answer for those production ...
-1
votes
1answer
262 views

“dig +trace fqdn” and “dig fqdn” do not give the same result on a LAN with windows DNS server, why?

in my company LAN I have a Ubuntu 14.04 server running in Virtualbox (as guest) on a Windows 7 (the host) with network interface bridged (so the Ubuntu server belongs to the LAN, with its ip: ...
0
votes
1answer
424 views

BIND 9.8.2 not giving A record for “dig domain.xxx ANY”

I got problem with my BIND 9.8.2 setup. After configuring master zone which works fine I've noticed that I cannot get a list of all A records using the dig utility with the ANY option. Here are some ...
5
votes
1answer
496 views

Why does dig +trace sometimes fail against Windows Server DNS?

My team has a server pointing at the DNS supplied by Active Directory to ensure that it is able to reach any hosts managed by the domain. Unfortunately, my team also needs to run dig +trace frequently ...
0
votes
1answer
305 views

Why is the DNS on my Windows Server 2012 not authoritative according to dig?

This is me trying to understand something rather than a real problem. I have a new Windows Server 2012 Essentials. That server provides, DNS, DHCP etc. Lets say my Windows domain is my-windows-domain ...
3
votes
4answers
1k views

Why doesn't `dig` show records?

Every time I use dig I get a vague feeling that I'm not really sure whether it's giving me correct data. Now I've used it like this: # dig socialimpactportfolio.com ; <<>> DiG ...
1
vote
0answers
751 views

Dig returns Refused Status on norecurse?

I've looked up two questions here at serverfault, but my question's a little different in specificity - when running the dig command with the +norecurs option (I'm trying to experiment with cache here ...
4
votes
1answer
7k views

Using dig axfr to perform a zone transfer from a Windows Server 2012 DNS server

I'm working on setting up host auto-discovery for Nagios using DNS records. When I try to use dig axfr to do a zone transfer (dig axfr local.domain.com), however, I get the following output: ...
1
vote
2answers
172 views

Why are additional DNS records only returned when the query isn't cached?

I'm trying to track down an issue we're having sending mail to a particular domain. We noticed that we're not getting consistent results from nslookup/dig when querying their MX records, and I'm not ...
0
votes
1answer
193 views

Check all domains served by a DNS server [duplicate]

Is there any way to query a dns server to find out all the domains it is the authoritative server? [all domains it has configured?] (I can use dig or any other tool)
0
votes
1answer
83 views

DNS resolution failure when querying through server IP

I have a DNS zone file with the following config : $TTL 86400 $ORIGIN example.com. @ IN SOA ns1.example.com. dns.example.com. ( 2014022604 ; Serial ...
0
votes
1answer
55 views

Is it needed to use local DNS cacher in EC2 / VPC?

Seems like AWS internal DNS is already a very low latency one, e.g. On ec2 dig google.com | grep "Query time" ;; Query time: 0 msec So do we really need to use another DNS cacher?
0
votes
1answer
163 views

Why does dig succeed if I add an SOA query and fail when I do not?

When I do this dig I get no answer... red@localhost:~$ dig +noall +answer name-one.name-two.com @mydns-server.name-one.com ... but when add name-two.com soa I get an answer for ...
0
votes
1answer
167 views

digging an IP gives me an unregistered domain name, why? [closed]

I get spam all the time (what a surprise!) and once in a while I check the IP address to see where it comes from (i.e. .cn, .cz, .pl, etc.) Today I was surprised as I found the output of dig to be: ...
0
votes
1answer
2k views

dig succeeds, nslookup fails (with dnsmasq as the server)

I installed dnsmasq on a machine of mine (It's a Kubuntu 12.04 LTS), backed only by /etc/hosts (no connection to the Internet until later). Now, if I dig mymachine, I get 192.168.0.1, but if I try to ...
2
votes
2answers
262 views

linux: shorter 'host' command output

I'm using dns to manage my virtual hosts. In order to do so I query my nameserver with the host command for for certain values is need. For example: > host -t txt mycl1.vz mycl1.vz.myserver.de ...
0
votes
0answers
89 views

How to get all website under authoritative nameserver with dig command or other solution?

What is the dig command to show all website under authoritative nameserver? Is it actually possible? If it's not, what is the other solution? Thanks in advance.
0
votes
1answer
466 views

PowerDNS does not resolve TXT records

My PowerDNS DNS server 3.3 does not resolve TXT records. Database looks like this: PowerDNS database When I try to dig my server for TXT entry they are not being shown: [root@nowosci powerdns]# ...
-2
votes
1answer
377 views

Cached response times from Google Public DNS slow

I noticed very strange but consistent performance behavior from Google Public DNS 8.8.8.8. Even-though a DNS record was cached, the response time was in the range of 20-30ms, which seems high. When I ...
5
votes
2answers
772 views

How to determine which DNS server has the authority to set rDNS (PTR records)?

or to re-phrase... How to determine to whom authority has been delegated to set rDNS? Background In a multi-tier environment, where a block of IP's is assigned, then further split and assigned ...
3
votes
1answer
637 views

Sendmail MX Lookup fails, dig doesnt

Anyone able to explain this problem? I can do a dig or nslookup on a host and get the MX servers, but when I check through sendmail it fails? RHEL 5.6 Sendmail: (root)> sendmail -bt ADDRESS TEST ...