
For website operators or domain name managers, domain name resolution is the core link to build a website and realize the association between the domain name and the server, and the domain name record value is the key parameter in the analysis and configuration, which directly determines whether the target address pointed to by the domain name is accurate. When many newbies come into contact with domain name resolution for the first time, they often make configuration errors because they do not understand the meaning of the domain name record value, fill in the rules and operation procedures, resulting in the inability to access the website normally. This article will comprehensively explain the relevant knowledge of the domain name record value from the basic cognition, operation steps, filling in specifications, verification and maintenance, etc., to help you quickly master the correct configuration method and avoid common operation errors.
before starting the configuration, we must first clarify the core role and basic properties of the domain name record value, which is the premise of ensuring accurate configuration.
1, the core definition of domain name record value
domain name record value is the key content in the domain name resolution record. It is the specific target address pointed to by the domain name. Different types of resolution records correspond to different formats of domain name record values. For example, the domain name record value recorded by A is the IPv4 address of the server, the domain name record value recorded by CNAME is another domain name address, and the domain name record value recorded by MX is the mail server address. Different record types determine the filling rules and direction of the domain name record value.
2, the association between domain name record value and resolution type
domain name record values cannot exist independently of the resolution type, and each resolution type has corresponding domain name record value format requirements. For example, A records are used to point domain names to IPv4 addresses, and the domain name record value must be a legal IP composed of four digits; while AAAA records correspond to IPv6 addresses, and domain name record values are long character addresses in hexadecimal format. If the correspondence between the resolution type and the domain name record value is confused, the resolution will fail.
master the basic knowledge of the recorded value of the domain name, then you can enter the actual operation link, the following is the complete configuration process.
1, enter the domain name resolution management background
first log in to the management platform of the domain name registrar or Cloud as a Service provider, find the domain name management module, and enter the resolution management page. The interface layout of different platforms is slightly different, but there are usually domain name resolution or DNS management entrances. After finding the corresponding domain name, you can enter the configuration interface of the resolution record to prepare for the subsequent filling in of the domain name record value.
2, select the resolution type and fill in the domain name record value
click the Add Resolution Record button, first select the corresponding resolution type according to your needs, such as building a website to select A record, setting a mailbox to select MX record, and then fill in the correct domain name record value in the record value text box. When filling in, pay attention to strictly follow the format requirements of the selected resolution type to avoid errors such as spaces and excess characters to ensure the accuracy of the domain name record value.
3, set the TTL value and save the effective
TheTTL value is the cache time of the domain name record. Generally, the default value can be selected. If it needs to take effect quickly, it can be set to a smaller value, such as 600 seconds. After confirming that the resolution type, host record, domain name record value and TTL value are correct, click the Save button to complete the configuration. Most resolution records will take effect within 10 minutes, and some platforms may require longer global synchronization time.
the format of domain name records corresponding to different resolution types is quite different, mastering the filling specifications of various records can effectively reduce the configuration error rate.
1, A/AAAA recorded domain name record value specification
A recorded domain name record value must be a legal IPv4 address, the format of four 0-255 numbers, separated by English periods in the middle, such as 192.168.1.1; AAAA recorded domain name record value is IPv6 address, the format of eight groups of four hexadecimal number, separated by an English colon, allowing zero compression to simplify writing, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
2, CNAME/MX record domain name record value specification
CNAME recorded domain name record value is a complete domain name address, such as cdn.example.com, you need to ensure that the domain name has been resolved and can be accessed normally; MX recorded domain name record value is the domain name or IP of the mail server, while setting the priority value, the smaller the priority value, the higher the priority of the mail server, generally fill in 5 or 10 by default.
in the process of configuring the domain name record value, there are many details that are easily overlooked, and a little inattention may lead to resolution failure or access problems.
1, to avoid the wrong format of the domain name record value
carefully check the format when filling in the domain name record value, such as A record cannot fill in the domain name, CNAME record cannot fill in the Internet Protocol Address, MX record should fill in the domain name record value and priority at the same time. If the format is wrong, the resolution record will be in an abnormal state and cannot take effect normally.
2, pay attention to the uniqueness and conflict of the recorded value of the domain name
the same host record of the same type of resolution records can only have one effect, if adding multiple records of the same type of resolution, may lead to confusion in the resolution. For example, the A record of the same domain name can only fill in the domain name record value of one IPv4 address. If you need to point to multiple IPs, you should use the resolution service of load balance class instead of repeatedly adding the same type of records.
complete the configuration of the domain name record value, it is not all right, but also needs to be verified and daily maintenance to ensure long-term stability of resolution.
1, use the tool to verify the validity of the domain name record value
can enter the domain name and resolution type through online DNS query tools, such as webmaster tools, DNS query network, etc., to check whether the corresponding domain name record value is consistent with the configuration. You can also use ping, nslookup and other commands in the command prompt of the local computer to verify whether the domain name correctly points to the filled domain name record value and confirm whether the resolution is effective.
2, periodically check the status of the domain name record value
server address change, CDN node adjustment, etc. may need to modify the domain name record value, so check the status of the resolution record regularly. If you find that the website cannot be accessed, the mailbox cannot be sent and received, etc., you must first check whether the domain name record value is correct, whether it has expired or pointed to the wrong situation, and make adjustments in time.
To sum up, the domain name record value is the core parameter of domain name resolution. From basic cognition to actual operation, to filling in specifications, precautions and later maintenance, each link directly affects the validity and stability of analysis. As long as you master the correct operation steps, strictly follow the filling specifications of various domain name record values, and do a good job of verification and maintenance, you can successfully complete the domain name resolution configuration and ensure the normal operation of the website or service.