Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


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.

Setting

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:

/etc/dnsmasq.conf

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

#strict-order

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

service dnsmasq restart

Test your results.

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

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_o_improve_dns_performance_by_removing_strict-order&1710816741