How to Fix "NO DNS RECORDS FOUND" Error in AWS Route 53 for CNAME
Direct Answer: When experiencing the "NO DNS RECORDS FOUND" error in AWS Route 53, it typically means your CNAME record is misconfigured or not propagated. Properly setting up and checking DNS records ensures subdomains resolve correctly to intended targets.
Learn how to troubleshoot and fix the "NO DNS RECORDS FOUND" error when configuring CNAME records for subdomains in AWS Route 53.

A common scenario involves a late-night alert on a production server, indicating that users cannot access a specific subdomain. The error message "NO DNS RECORDS FOUND" appears when trying to resolve it. This frustrates developers trying to debug the issue, especially when the application deployment is pending. The root of this problem often lies in the intricacies of DNS records, specifically CNAME records in AWS Route 53.
How Does CNAME Resolution Work in AWS Route 53?
At a fundamental level, a CNAME (Canonical Name) record maps an alias domain name to the true or canonical domain name. Understanding how CNAME resolution works is crucial for diagnosing issues like "NO DNS RECORDS FOUND."
-
DNS Query Process: When a client tries to resolve a subdomain, such as
api.example.com, it sends a DNS query. The resolver first checks its cache. If the record isn't cached, it queries the authoritative DNS server forexample.com. -
Authoritative DNS Response: In AWS Route 53, when a query hits the authoritative DNS server, it checks the CNAME records associated with
api.example.com. If a valid CNAME record exists, the server responds with the canonical name, which might beapi-prod.example.com. -
Final Resolution: The resolver then queries the authoritative DNS server for
api-prod.example.comto get the corresponding A record (IPv4 address). If all these steps complete successfully, the user will reach the intended server.
Consider the following DNS record configuration in Route 53 for a subdomain:
Name Type Value
api.example.com CNAME api-prod.example.com
If the CNAME record is missing or incorrect, the resolver won't find the necessary information, resulting in the "NO DNS RECORDS FOUND" error.
Failure Case Study: Encountering the "NO DNS RECORDS FOUND" Error
In a recent incident at a tech startup, developers encountered the "NO DNS RECORDS FOUND" error while attempting to configure dev.api.example.com to point to api-prod.example.com. The symptoms were apparent: users couldn't access the development API endpoint after a recent deployment.
Observed Symptoms
Developers first noticed the issue when team members reported errors while testing the subdomain. The DNS lookup command returned:
$ dig dev.api.example.com
;; ANSWER SECTION:
;; QUESTION SECTION:
;dev.api.example.com. IN A
About the author
Admin SarangAI Β· AI Tools Editor
Part of the SarangAI editorial team covering AI tools, product releases, emerging technology trends, and practical web utilities for developers and creators.