"Erecting" your own DNS server

Source: Internet
Author: User
Keywords DNS Server

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest stationmaster buy cloud host technology Hall

Somehow a reader went through the WHOIS information of my domain name, then emailed me and asked me in surprise: "You use your own DNS server?" ”

I saw his mail was stunned, do not know what to say, at the same time the heart is still a little complacent, the place where the B is really someone hooked ... This classmate see don't take offense, originally I did not care about this matter, you since discovered. In response to this classmate's invitation to write how to "opportunistic" set up their own DNS server.

Note: The following method is purely loaded B, there is no practical significance, is to look good, veteran not to laugh.

  

What is DNS

This is a detailed introduction to the Web, and DNS is the abbreviation for Domain Name System. But this article says DNS does not refer to the DNS servers that are set up on our Internet computer, such as 8.8.8.8. It refers to the DNS resolution server under the domain name.

We look up a domain name, is to query the domain name whois information. For example, we check the information of Sina sina.com.cn domain name. The result is

  

The red box refers to the DNS server.

Like Sina is a big company that has its own DNS server. What about the small sites? You can use the DNS of your domain registrar, or third party DNS, such as Dnspod. For example, zpp.cc is a small web site.

  

Obviously, the Dnspod DNS service is used.

Two. How to set up your own DNS server

If you query my blog, that is, 9fun.org whois information, the result is

  

Obviously, I used my DNS and set up 6 units at once. You ping my servers, for example ping ns1.9fun.org you will find that these servers are real, and 6 of IP across the celestial provinces. But you must be surprised, I am just a blog, which has the money to maintain 6 servers? As I said earlier, this is just a "opportunistic" approach. is not really erected. Just small site installed large site, pure let people think that cow b just, and have no meaning.

How do you do that?

1, you must have a belong to your own domain name. For example: 9fun.org (nonsense)

2, in the domain Name service provider that can register a DNS domain name, so that your DNS server in the global effective.

The key is the second. Many domain service providers, especially foreign, are free to provide this function. For example my 9fun.org is registered in name.com, in the background control Panel

  

One option is to register the name Server registration. Some domestic registrars such as the new network, the new network of interconnected domain name Control Panel is called "Registration of DNS under this domain name." The name, very similar, is a meaning.

3, click to add at least two DNS, such as ns1.9fun.org and NS2.9FUN.ORG,IP address to fill in your DNS server IP address.

What does this IP fill out? This is where the odds are. For example, I use a previously dnspod DNS server, ping ns1.dnspod.net. The resulting IP is filled in the ns1.9fun.org to be registered.

  

121.12.116.83 is ns1.dnspod.net IP, in the same way, register NS2,NS3 these IP in turn. If you do not need to dnspod, you can also use the IP of other DNS service providers, such as freedns.ws, new network interconnection (dns.com.cn) These DNS are OK.

4, in your domain name registrar to change the DNS server to ns1.9fun.org and so on your own registered DNS server

  

5, at this point you may look like your own DNS server to resolve their domain name, but all the records still have to login dnspod add and change. Of course, you use freedns.ws IP registration in the freedns.ws to modify a record, MX record these.

Three. Advantages and disadvantages.

Strictly speaking, this does not have any merit, just satisfies under own vanity. After all, many independent bloggers write original blog, their own theme, configure the server, in fact, to a large extent, also reflects the "independent" word. It's better to be independent from DNS.

On the other hand. There are many disadvantages to doing so.

When the IP of the server such as Dnspod ns1.dnspod.net change, you also have to change the IP address of ns1.9fun.org, if add the ns1.9fun.org add a record, also must update. If ns1.dnspod.net IP changed, you do not notice, you can not access the site. This is very affecting the stability of the site, it is best to find a more fixed IP DNS service providers, otherwise it will be very tired, old change domain name resolution is also annoying.

So, remember, commercial website, do not to "install B" and change this. Honest with the original service, more stable is the king.

Article Source: http://www.9fun.org/archives/206.html reprint Please indicate this address in the form of link

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.