Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to troubleshoot a DNS issue I am currently having with a new project host on an AWS EC2 instance. It is a brand new domain, and I have already updated the nameservers on the registrar side.

It's been a couple days so the new records have propagated. Upon digging, I have verified the NS records are being correctly pointed to:

; <<>> DiG 9.9.5-3-Ubuntu <<>> in NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32418
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;    IN  NS

;; ANSWER SECTION: 172800 IN   NS 172800 IN   NS 172800 IN   NS 172800 IN   NS

NS Records Good. So next i went to verify the A record that I set up in the AWS Hosted Zone is querying correctly to the elastic IP of my EC2 instance:

;    IN  A


A Record looks propagated. Excellent.

So then I checked the IP itself to see if that loaded... IP address loads fine:

So why then does the actual domain not query properly?

What am I missing? Is there a more effective solution to troubleshoot DNS issues other than using the dig utility?

share|improve this question
Can you include dig output for the name you say that you have problems with ( The +trace +add options may be helpful in case something is actually wrong with the delegation. – Håkan Lindqvist Aug 21 '14 at 6:58
+1 for this question from me, for not redacting the domain name. Made solving the problem easy, instead of a punishing series of how-about questions. Thanks, Robert. – MadHatter Aug 21 '14 at 7:04
@HåkanLindqvist I'm interested in learning more about how to better troubleshoot an issue like this in the future, so I was playing with the dig options you suggested, but I am unable to identify the syntax for using them. After looking through the help manual on dig it appeared I should use the following syntax: dig in NS +trace, however its producing no output. Nor is +add option, and I can't even find that one in the man page. I've tried about 20 other syntax forms and none of them produce output either. Can you suggest the syntax you would use? – McWayWeb Aug 21 '14 at 7:27
in linux I can write dig +trace +add (ubuntu), what platform are you on? – Sverre Aug 21 '14 at 7:39
@Sverre Ubuntu as well. I tried that one actually: ; <<>> DiG 9.9.5-3-Ubuntu <<>> +trace +add ;; global options: +cmd ;; Received 28 bytes from in 2 ms – McWayWeb Aug 21 '14 at 7:46
up vote 3 down vote accepted is not the same as

you need another A record for that one, or a cname

for example 300 IN  A
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.