Improve DNS Performace by Removing Strict Order

This guide will help you modify the DNS settings of ClearOS so that the system does not use linear methods for DNS resolution. By default, ClearOS will query, in turn, each DNS server listed until it gets a result. Using this method, ClearOS will query all DNS servers listed and reply with the first answer it receives. This method can increase speed, but leaves you vulnerable to bad messages if your fastest DNS server has the wrong information. You may also NOT want to use this method if using the AD Connector unless you have take provisions to move the resolution of your realm records to the DNS server.


To modify the setting, SSH into your server or access the command line using the console. Use your favorite text editor (like nano, or vi) to modify the following file:


In this file, insert a '#' sign in front of the line 'strict-order'. So that it looks like this:


Save the file with this setting. Then restart the local DNS caching server:

service dnsmasq restart

Test your results. search?q=clearos%2C%20clearos%20content%2C%20AppName%2C%20app_name%2C%20kb%2C%20howto%2C%20xcategory%2C%20maintainer_dloper%2C%20maintainerreview_x%2C%20keywordfix&btnI=lucky

content/en_us/kb_o_improve_dns_performance_by_removing_strict-order.txt · Last modified: 2014/12/23 21:16 (external edit)