Host Resolution Priority Tweakhost name resolution priority
2002.04.19 21:50 by Philip
Keywords: tweak, DNS, NetBT, hosts
The tweak desribed below helps boost priority for DNS & hostname resolution in general. What this means is, it helps web pages load faster, and has negligible effect on downloads (not counting the couple of ms gain with the host resolution at connect-time).
What we're aiming at is to increase the priority of 4 processes, while keeping their order. Lower numbers mean higher priority compared to other services.
Let's examine these 4 services:
LocalPriority = 499 default default priority - local names cache
For these four services (all related to host name resolution), you will see some people recommending using the same priority, usually 1,1,1,1. The problem with that is it does not keep the correct order of priorities for the different services. That is why we recommend using small consecutive numbers, as the examples below. Using 5,6,7,8 increases their priority significantly compared to all other services (and their own default values) while keeping their correct order.
Applying this tweak assumes some proficiency in editing the Windows Registry using Regedit (Start > Run > type: regedit). Reboot after making changes. As always, backup your Registry before making any changes so you can revert to the previous state if you don't like the results.
Note: The below host name resolution tweak can also be used for changing name-resoluton order besides priority.
First, open the Windows Registry using Regedit, and (after backing up) navigate to:
Note the following lines (all hex dwords):
NetbtPriority = 7d1 (2001) - NetBT name-resolution, including WINS
What we're aiming to do is increase the priority of the last 4 settings, while keeping their order. The valid range is from -32768 to +32767 and lower numbers mean higher priority compared to other services. What we're aiming at is lower numbers without going to extremes, something like what's shown below should work well:
Change the "Priority" lines to:
As usual, reboot for changes to take effect.
The tweak is essentialy the same as in Windows 2000/XP, just the location in the Registry is slightly different. For a more detailed description see the Windows 2000/XP section above.
Open the Windows Registry using Regedit, and (after backing up) navigate to:
You should see the following settings:
The "priority" lines should be changed to:
Reboot for changes to take effect.
Windows Vista / 2008 Server
As with previous versions of Windows, one can improve DNS and hostname resolution by increasing the priority of of related services, while keeping their order. Lower numbers mean higher process priority. The corresponding registry settings in Vista are as follows:
External Name Resolution Resources:
For additional tweaks and information, check some of our other related articles: