Gitee is a code hosting platform that is very familiar to domestic developers, and many people use it to manage development projects. However, sometimes we need to add some TXT records to Gitee's own domain name to implement some functions, such as verifying domain name ownership, etc. Let’s introduce how to add TXT record to Gitee domain name.
First, we need to log in to the Gitee platform and enter the homepage. Find "Accelerator" in the upper right corner of the page and click to enter.
Next, we need to select "Accelerated Domain Name" in the accelerator interface and click "New Accelerated Domain Name".
In the interface for creating a new accelerated domain name, we need to fill in some information about the domain name, as shown in the figure below:
First, We need to fill in our main domain name. If it is a subdomain name, we need to add the corresponding name in front.
Secondly, we need to choose the acceleration method. There are many methods to choose from, choose according to your own needs.
Finally, we need to set the IP address for acceleration. We can fill in the IP address we want, or we can choose some IP addresses provided by the system.
After adding the accelerated domain name, find "Domain Name Resolution" in the domain name management interface on Gitee and click to enter. In the domain name resolution page, we can see an "Add Record" button. After clicking it, we need to fill in some information, as shown in the figure below:
Here we need to select the TXT record type and fill in the corresponding value.
After filling in, click Save.
After adding the TXT record, we need to verify it. We can use some verification tools to verify, such as Nslookup, etc. If you are using a Windows system, you can use the Nslookup command directly in the CMD command line, as follows:
nslookup -type=txt your_domain_name
In the above command, we need to Replace "your_domain_name" with our own domain name. After execution, you can see the value of the TXT record.
Summary:
The above is how to add a TXT record to the Gitee domain name. Adding TXT records can implement various functions without changing the domain name, such as verifying domain name ownership, setting up domain name forwarding, etc. If you encounter problems, you can seek help in the Gitee community and official technical support center.
The above is the detailed content of How to add txt record to gitee domain name. For more information, please follow other related articles on the PHP Chinese website!