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

learn more… | top users | synonyms

3
votes
2answers
96 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
910 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 ...
-1
votes
1answer
429 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
23 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
54 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
63 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 ...
2
votes
3answers
2k views

able to dig a hostname but doesn't resolve via ssh or ping

I am using Snow Leopard and cannot ping or ssh into a host but am able to dig: dig some.value.host.com When the ip address comes back in the answer section, then I am able to ssh via ip address ( ...
0
votes
1answer
325 views

Is there a drawback to both A and AAAA records in the ADDITIONAL section?

I'm just asking for a possibility of having both ipv4 and ipv6 configurations in one domain. If I do dig <domain>, inside the ADDITIONAL SECTIONS will display the A and AAAA records. Are there ...
-1
votes
1answer
89 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: ...
2
votes
1answer
9k views

sed replace all tabs and spaces with a single space

I got a string like the following: test.de. 1547 IN SOA ns1.test.de. dnsmaster.test.de. 2012090701 900 1000 6000 600 now I want to replace all the tabs/spaces inbetween the ...
4
votes
3answers
2k views

dig show only answer

I want dig only to show the answer of my query. Normally, it prints out alot of additional info like this: ;; <<>> DiG 9.7.3 <<>> google.de ;; global options: +cmd ;; Got ...
0
votes
1answer
284 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
173 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
125 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 ...
15
votes
2answers
9k views

Force dig to resolve without using cache

I'm wondering if there is a way to query a DNS server and bypass caching (with dig). Often I change a zone on the DNS server and I want to check if it resolves correctly from my workstation. But since ...
3
votes
4answers
512 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 ...
16
votes
2answers
4k views

Is dig +trace always accurate?

When the accuracy of a DNS cache is in question, dig +trace tends to be the recommended way of determining the authoritative answer for an internet facing DNS record. This seems to be particularly ...
0
votes
0answers
290 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 ...
3
votes
1answer
1k 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: ...
3
votes
1answer
402 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 ...
1
vote
2answers
111 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
83 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)
5
votes
2answers
4k views

SOA and Primary NS record (DNS)

The brunt of the question is this -- What is the relationship between the primary nameserver specified in the SOA record and the nameservers specified in the NS records. How are these things linked? ...
0
votes
1answer
47 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 ...
2
votes
4answers
3k views

DNS Subdomain delegation issue

(Updated the post with more detailed example) I have my domain: example.com setup at DNS provider 1. Provider 1 has nameservers: ns1.dns1.com ns2.dns1.com I want to delegate authority for ...
0
votes
1answer
49 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
98 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
112 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
180 views

Getting a reverse lookup answer from nslookup but not from dig

So if I use dig to do a reverse lookup I get: $ dig 71.74.56.122 ; <<>> DiG 9.6.0-APPLE-P2 <<>> 71.74.56.122 ;; global options: +cmd ;; Got answer: ;; ...
2
votes
2answers
133 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
63 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
252 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
241 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
173 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 ...
45
votes
6answers
83k views

List all DNS records in a domain using dig?

My company runs an internal DNS for "mycompany.com" There is a machine on the network that I need to find, but I've forgotten it's name. If I could see a list, it would probably jog my memory. ...
17
votes
2answers
883 views

DNS Server Responses and Timeouts

We're experiencing a frustrating problem on our LAN. Periodically, DNS queries to our ISP nameservers timeout forcing a 5 second delay. Even if I bypass /etc/resolv.conf by using a direct dig to one ...
1
vote
2answers
3k views

Why don't DNS root servers answer?

If I try to query a root server with dig, I never receive an answer. For example the output for dig @b.root-servers.net www.ubuntu.com is ; <<>> DiG 9.8.1-P1 <<>> @b.root-servers.net ...
0
votes
2answers
2k views

Can't seem to resolve domain, but can dig it

I've an interesting bug in my master name server. I'm running Fedora Linux, with bind 9.3.4. The server is planned to be replaced, as it's quite old, but I have to make it work in the meantime. The ...
0
votes
2answers
379 views

Dig -x equivalent for AWS Route 53

I have an IP number associated with an AWS Elastic IP (EIP). I'd like to know, what DNS records in my Route 53 domain are associated with that A record's IP. In a traditional DNS service, I would ...
0
votes
1answer
300 views

Dkim DNS Setup: dig +trace finds the key, dig notrace doesn't

i'm setting up DKIM for my domain to sign outgoing mails. I've got some issues on DNS configuration, because DNS configuration is mixed between external DNS (hosting) and a cloud server, which sends ...
5
votes
2answers
2k views

Why can host and nslookup resolve a name but dig cannot?

Can anyone tell me why this is happening? I can resolve a hostname using host and/or nslookup but forward lookups do not work with dig; reverse lookups do: musashixxx@box:~$ host someserver ...
3
votes
1answer
959 views

Google Public DNS is returning a SERVFAIL for my domain

Hope some one will help me in resolving the issue. My Domain name is "prohosterz.com" Google Public DNS is returning a SERVFAIL for my domain: $ dig prohosterz.com @8.8.8.8 ; > DiG 9.9.2 > ...
1
vote
1answer
189 views

Dig Connection Error on SRV Records

Using Bind9 running on localhost. I have two records in my DNS zone file: _kerberos._udp.GROUP-42.SNOOPY.ISP IN SRV 0 0 88 kirby.group-42.snoopy.isp. kirby.group-42.snoopy.isp. IN A ...
2
votes
1answer
2k views

What's the difference between `dig` and `host` when querying a specific name-server?

I was using this command to verify if I'd set things up correctly with a DNS provider: host hostname.example.com ns1.example-nameserver.com As far as I can tell, this asks ...
0
votes
2answers
42 views

Linux Terminal dig example -d

I am really having trouble making a post and this question is nowhere asked on the internet and i need to know if it is harmful so i can correct my mistake. I ran the following command in the Linux ...
0
votes
1answer
113 views

nslookup Returning Domain that is a Subdomain of some Default

I'm the owner of a hypothetical domain name, XYZ.com. I have an LXC container setup that exhibits an undesired behavior: $ nslookup non-existent-domain-12345.com Name: ...
1
vote
1answer
540 views

Bind reverse ipv6 mapping, dig gives no answer, SERVFAIL

I am using Fedora 17 with Bind 9 installed, trying to configure a DNS and I already solved a problem: Bind DNS configuration, dig command don't resolve name Now ipv4 and ipv6 mapping works, ...
1
vote
1answer
218 views

Bind DNS configuration, dig command don't resolve name

I am using Fedora 17 with bind 9. I tried to manually configure a DNS for a network, editing /etc/named.conf: options { listen-on port 53 { localhost; }; listen-on-v6 port 53 { ::1; }; directory ...
0
votes
3answers
3k views

DNS searching with wildcards?

Anything like nslookup or dig offer the ability to search based on something contained in the name ... like a wildcard search or something? I'm trying to make a little script with a GUI wrapper for ...
1
vote
1answer
401 views

“dig … any” shows A record but “dig … a” does not

When using "dig host.name.here.com A" I get SERVFAIL and no answer. But when I do a "dig host.name.here.com ANY" I get NOERROR and it returns an A record. Any idea as to what may be wrong with the ...