title: Route 53 alias record not working?
body: <p>I previously had a website working on AWS.  It was created &amp; registered with AWS. It was setup in the hosted zone and point to an EC2 instance.  Everything was working fine.</p>
  
  <p>I got "smart" and created a load balancer, which pointed to the EC2 instance, and then I deleted the previous hosted zone record (and associated recordset) and re-added the hosted zone record which would point to the load balancer.</p>
  
  <p>After much googling I determined I needed to add an "A" record, make it an alias and point it to the load balancer.  All good so far.</p>
  
  <p>Then I went to access the website in browser and Im getting ERR_NAME_NOT_RESOLVED.  I waited hours for DNS servers to update and still no luck.  Flushed DNS cache and no luck.</p>
  
  <p>Ive changed multiple other things - tried www in front of name in recordset, tried a ptr record which pointed to load balancer DNS name, and even tried to sync the dns server names between the domain record and the hosted zone record.  Still no luck.  Same error.</p>
  
  <p>Ive performed "nslookup debug" and honestly dont know what Im looking at.</p>
  
  <h2>C:\Users\sam>nslookup -debug abc.com</h2>
  
  <p>Got answer:
      HEADER:
          opcode = QUERY, id = 1, rcode = NOERROR
          header flags:  response, auth. answer, want recursion, recursion avail.
          questions = 1,  answers = 1,  authority records = 0,  additional = 0</p>
  
  <pre><code>QUESTIONS:
      1.1.168.192.in-addr.arpa, type = PTR, class = IN
  ANSWERS:
  -&gt;  1.1.168.192.in-addr.arpa
      name = xyz
      ttl = 0 (0 secs)
  </code></pre>
  
  <hr>
  
  <p>Server:  xyz
  Address:  192.168.1.1</p>
  
  <hr>
  
  <p>Got answer:
      HEADER:
          opcode = QUERY, id = 2, rcode = SERVFAIL
          header flags:  response, want recursion, recursion avail.
          questions = 1,  answers = 0,  authority records = 0,  additional = 0</p>
  
  <pre><code>QUESTIONS:
      abc.com, type = A, class = IN
  </code></pre>
  
  <h2>------------</h2>
  
  <p>Got answer:
      HEADER:
          opcode = QUERY, id = 3, rcode = SERVFAIL
          header flags:  response, want recursion, recursion avail.
          questions = 1,  answers = 0,  authority records = 0,  additional = 0</p>
  
  <pre><code>QUESTIONS:
      abc.com, type = AAAA, class = IN
  </code></pre>
  
  <h2>------------</h2>
  
  <p>Got answer:
      HEADER:
          opcode = QUERY, id = 4, rcode = SERVFAIL
          header flags:  response, want recursion, recursion avail.
          questions = 1,  answers = 0,  authority records = 0,  additional = 0</p>
  
  <pre><code>QUESTIONS:
      abc.com, type = A, class = IN
  </code></pre>
  
  <h2>------------</h2>
  
  <p>Got answer:
      HEADER:
          opcode = QUERY, id = 5, rcode = SERVFAIL
          header flags:  response, want recursion, recursion avail.
          questions = 1,  answers = 0,  authority records = 0,  additional = 0</p>
  
  <pre><code>QUESTIONS:
      abc.com, type = AAAA, class = IN
  </code></pre>
  
  <hr>
  
  <p>*** xyzcan't find abc.com: Server failed</p>
  
  <p>Im sure its something dumb.  But Ive spent too much time on this and cant think anymore.</p>
  
  <p>What did I do wrong?</p>
  
  <p>Thanks for your help.</p>