Position:Home > DomainName > CDN-Usage of Chinese Domain Names > Text

Configuration of DNS
 

 After registering Chinese Domain Name, it is required to configure corresponding DNS server to activate the resolution of the name:

  1.  Encoding the registered Chinese Domain Name to punycode string by using online or offline coding tools;
  2.  Add the subdomain of the registered Chinese Domain Name into the configuration file of the DNS server;
  3.  Specify the configured DNS server as the primary server for running the subdomain resolution system of the registered Chinese Domain Name;
  4.  Specify a domain data file to save the domain name data of the subdomain of the registered Chinese Domain Name;
  5.  Edit the domain data file and set the series number. Update relevant parameters (such as period length), and add domain name records.

Take "天蓝蓝.cn" for example:
It will be encoded as “xn--rssy03ha.cn” (punicode)

Configuration File Name: named.conf
......
zone "xn--rssy03ha.cn" IN {
type master;
file "tllcn.zone"
}
......

Configuration File Name: tllcn.zone
@ IN SOA xn--rssy03ha.cn. sysadmin.xn--rssy03ha.cn. (
2003040101 ; Serial
43200 ; Refresh after 12 hours
7200 ; Retry after 2 hours
2592000 ; Expire after 30 days
86400 ) ; Minimum TTL of 1 day
IN NS xn--rssy03ha.cn.
xn--rssy03ha.cn. IN A 159.226.7.159



[ 2005/9/3 ]