DNS Resolver Behavior in Windows Vista

Recently while working with one of my customers I came across some odd behavior on a Windows Vista client workstation. We noticed that Windows Vista workstations that were configured as Web Proxy and Firewall Clients only (no default gateway) were unable to access non-web based remote resources (e.g. RDP and FTP) by hostname (single label or fully qualified). They could, however, connect by IP address. The odd thing was that Windows XP clients configured in the identical manner did not exhibit this behavior. Windows XP clients configured as Web Proxy and Firewall Clients without a default gateway could access non-web based remote resources without issue, by hostname or IP. In either case, web proxy communication (HTTP, HTTPS, tunneled FTP) worked perfectly.

Name resolution on the Windows Vista client worked flawlessly, so I opened a case with Microsoft so they could shed some light on this for me. After some additional research on their part they were able to determine that this was expected behavior on Windows Vista. Apparently the DNS resolver in Windows Vista filters out hostnames for destinations that are not reachable from the local host. Without a default gateway, Vista had determined that it couldn’t connect to the resource because it had no route to the remote network (obviously not aware of the Firewall Client) and so communication fails.

The resolution was simple enough…add static routes to any remote internal networks, or if Winsock access to the general internet was required, then add a default gateway. And while you may not encounter this particular scenario in complex, large scale corporate networks, it is fairly common in small, flat networks deployed at many SMB’s. If you are like me and have recommended in these scenarios that you deploy only the Firewall Client, it appears that option is no longer available.

2 Responses to “DNS Resolver Behavior in Windows Vista”

  1. Thomas Shinder Blog » Blog Archive » Vista DNS Client Breaks "Gateway-less" Firewall Clients Says:

    [...] Hicks notes in his blog an interesting case of strange client behavior for machines with the Firewall client installed. As [...]

  2. Living with ISA 2006 and the ISA Firewall client « A glimpse into the life of IT Says:

    [...] Vista and later workstations need a static route added for remote targets that were not web based.  This can be done via DHCP.  Thanks to some assistance from Richard Hicks and Microsoft for ultimately explaining the reason behind the inconnsistent behavior between XP and Vista.  More info can be found here: http://tmgblog.richardhicks.com/2009/01/10/dns-resolver-behavior-in-windows-vista/ ; [...]

Leave a Reply