Build a DNS server in Linux

Source: Internet
Author: User
In the past two days, I have been busy working on how to build a dns server in Linux. I used to build a dns server in windows at school. It is indeed a challenge for me. I am not sure when I start to do it, but I cannot find my mind when I do it. I have been searching for how to build a dns in Linux on the internet, and I have some knowledge about how to build a dns. Then

In the past two days, I have been busy working on how to build a dns server in Linux. I used to build a dns server in windows at school. It is indeed a challenge for me. I am not sure when I start to do it, but I cannot find my mind when I do it. I have been searching for how to build a dns in Linux on the internet, and I have some knowledge about how to build a dns. Then, try to build a dns server in Ubuntu. My system version is 10.0 and the kernel version is 2.6.32. (You can enter:Uname-A View) first, you need to download bind, which is currently the most commonly used DNS server software on the Internet. UseCommand:SuDo apt-get install bind9 is automatically installed. After the installation is successful, create a configuration file under/etc/bind. Some keywords are encountered in the configuration file. The following is a summary of the Self-surfing query:

@ Refers to the content in the quotation marks of the zoo statement in name. conf. option, for example, zoo"ExAmple.com ", @ in example.com refers to example.com.

SOA refers to the content set by Start Of Authority.

IN is the meaning of in IN English. Here is the meaning of "corresponding.

NS is short for NameServer.

A is the positive solution symbol. The so-called positive solution is to query the IP address "192.168.1.4" according to the domain name "dns.example.com"

PTR is the anti-decoding symbol. The so-called anti-decoding is to query the domain name dns.example.com Based on the IP address "192.168.1.4.

In Linux, you can use commands to configure IP addresses:

$ SudoIfconfigEth0DdIPaddress // Add IPaddress to interface eth0

$ Sudo ifconfig eth0 del IPaddress // Delete IPaddress

This task is not difficult to configure IPV4, but IPV6. Later, we found that the IPV4 configuration was followed by IPV6.

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.