Build a DNS server for a Chinese domain name in Linux

Source: Internet
Author: User

Before configuration, explain how the Chinese domain name works:

When we enter the domain name Chaoyang. Beijing. China in the browser, the browser will translate the Chinese domain name into Punycode code and then

It is transferred to the DNS server for resolution, for example, after being translated into Punycode by Chaoyang. Beijing. China

Xn -- tpv1_h. xn -- 1lq90i. xn -- fiqs8s

Chaoyang = xn -- tpv1_h Beijing = xn -- 1lq90i China = xn -- fiqs8s

Click my Transcoding

Therefore, we need to use Punycode as the domain name on the Linux DNS server. Start configuration below

First configure the main configuration document (here I only configure a forward region. The reverse region is the same as the normal one, but the domain name must be replaced with Punycode code)

Then modify the parsing File

Here DNS is configured to restart the dns service.

In the next step, we need to configure apache to bind this Chinese domain name to achieve browser access (apache

I will not talk about the service here. If you have never learned the apache service, you 'd better learn about the apache service before configuring it)

Restart the apache service after binding.

Next, we will use a browser to access

RHEL6 server build DNS Server

Linux RHEL 6.x DNS Server

Ubuntu DNS Server Configuration

Configure DNS server in Solaris

Use MySQL and DNS view for intelligent DNS in CentOS 6.3 x64

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.