How Is a Domain Name Resolved?
When a domain name resolution request is initiated, a matched subdomain is first queried.
- If the subdomain exists, the DNS server returns the result based on the subdomain configuration file.
- If the subdomain does not exist, the DNS server queries the record sets of the upper-level domain.
For example, suppose you have created one zone for example.com and added an A record set with the Name field set to www. You have also created another zone for www.example.com without an A record set.
If an end user accesses www.example.com, the subdomain www.example.com is first queried. However, no result will be returned because no record sets are configured for the subdomain.