DNS and HOSTS file name resolution priority in Windows XP Media Center Edition
Posted on 2006-05-26
I recently got a new laptop with Windows XP Media Center Edition. On all my other machines (running Home or Professional), the HOSTS file trumps the DNS server when it comes to domain name resolution. But on my new laptop, it appears the DNS server is consulted before the HOSTS file. This is inconvenient for me--I need to be able to override the outside DNS server's resolution wtih my own patch (for domain website testing, etc...). I've tried tweaking the HostsPriority value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider (made the value for HostsPriority smaller than that for DnsPriority) to no avail. Can anyone help?