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.