Optimize DNS servers in red-flag Linux

Source: Internet
Author: User
In red-flag Linux, choose "DNS server optimization"> "Linux Enterprise Application"> "Linux server application". For details, refer to the following section. As one of the basic Internet services, the DNS (Domain Name Server) service plays an extremely important role in the normal operation of the entire Internet. the stability and efficiency of the DNS Service will directly affect the efficiency of users' use of the network. BIND (Berkeley Internet Name Domain) is currently the most widely used Domain Name Server software, in this field in the dominant position. To improve the performance of BIND, an important method is to optimize and configure BIND and its dependent operating systems, libraries, and other software.

In red-flag Linux DC Server5.0, there are many effective DNS optimization methods. The following describes only four methods that greatly improve the DNS performance. QPS (query per second) is used as the criteria for evaluating DNS service performance. To quantify the performance improvement.

Method 1: Change the compilation option. The default compilation option of BIND is "-O2". After "-O3", the performance improvement is shown in table 1 below.

Table 1: Test result comparison table

[Table = 251] [tr] [td =, 88]

Compile Parameters

[/Td] [td = 1, 1, 84]

O2

[/Td] [td = 1, 1, 78]

O3

[/Td] [/tr] [tr] [td = 1, 1, 88]

QPS

[/Td] [td = 1, 1, 84]

6648

[/Td] [td = 1, 1, 78]

7113

[/Td] [/tr] [tr] [td = 1, 1, 88]

Performance Improvement

[/Td] [td = 1, 1, 84] [/td] [td = 1, 1, 78]

4%

[/Td] [/tr] [/table]

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.