What Can I Do If a Record Set Does Not Take Effect?
Symptom
When you ping a domain name, no IP address is returned. There are many causes why a domain name cannot be resolved.
- You can also check the following possible causes to locate the cause of this problem.
The causes here are described in order of how likely they are to occur.
Check these causes one by one until you find the cause of the fault.
- Checking the Domain Name Status: If the domain name has expired or is abnormal, it cannot be resolved.
- Checking DNS Servers of the Domain Name: If the DNS servers are not those provided by the DNS service, the domain name cannot be resolved.
- Checking Record Sets: If the record sets are incorrect, the domain name cannot be resolved.
- Checking the DNS Server Changes Within 24 Hours: The local DNS server caches the NS record set configured for the domain name. It may take 48 hours to update the NS record.
- Checking the Authoritative DNS Server: If the record sets have not taken effect on the authoritative DNS server, the domain name cannot be resolved. You can run nslookup to check whether the record sets have taken effect.
- Submitting a Service Ticket
Checking the Domain Name Status
A domain name is the entry for DNS resolution. You can use the DNS service for resolution only if the status of your purchased domain name is normal. If the domain name is in the serverhold state because the domain name is in arrears or in dispute or the real-name authentication is not completed, the domain name cannot be resolved.
You can go to whois to query information about the domain name, including its status, whether it has been registered, registration date, expiration time, and registration service provider.
You can also go to the Domains console to view the real-name authentication status of the domain name and whether it is in arrears. If real-name authentication is not completed or the domain name is in arrears, address the issue by referring to the following:
- Real-name authentication
- Renewing an expired domain name
Checking DNS Servers of the Domain Name
The DNS service provides authoritative DNS servers for domain resolution.
If the DNS servers are not those provided by the DNS service, the domain name cannot be resolved.
You can go to whois to query the DNS servers of the domain name.
The following are Huawei Cloud DNS servers.
- (Recommended) Four new Huawei Cloud DNS servers
ns1.huaweicloud-dns.net
ns1.huaweicloud-dns.cn
ns1.huaweicloud-dns.com
- Old DNS servers
ns1.hwclouds-dns.net
If the DNS servers are not those provided by Huawei Cloud DNS, change them.
Checking Record Sets
- Log in to the DNS console and check the zone status.
If the status is Disabled, the domain name cannot be resolved.
- Check whether the record sets are correct and in the Normal state.
For example, if a subdomain cannot be used for access, a possible cause is that a record set is added for the domain name but no record set is added for the subdomain.
Checking the DNS Server Changes Within 24 Hours
If DNS servers are changed, they will not take effect immediately. Domain name registrars usually set the TTL value in the NS record set to 48 hours. If the local DNS server caches the NS record set, the changes will take effect in 48 hours.
Consult the domain name registrars for specific cache duration. Do not delete original record sets until the changes take effect to ensure your service continuity.
Checking the Authoritative DNS Server
Check whether the record sets configured for the domain name have taken effect on the authoritative DNS server. You can run the following command to check whether a record set has taken effect:
nslookup -qt= [Record set type] [Domain name] [Authoritative DNS server]
For example, if the authoritative DNS server is ns1.huaweicloud-dns.cn and the domain name is example.com, run the following command:
nslookup -qt=a example123.com ns1.huaweicloud-dns.cn
If the record sets have taken effect on the authoritative DNS server but no IP address is not returned, a possible cause it that the local DNS server is hijacked. Run either command to check the public recursive DNS: nslookup -qt=[Record set type] [Domain name] 8.8.8.8 or nslookup -qt=[Record set type] [Domain name] 114.114.114.114
If the domain name can be mapped to 8.8.8.8 or 114.114.114.114, change the local DNS server to a public recursive DNS server.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.