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]