Configuring Windows DNS resolver cache
Solution 1:
another way to verify would be to look at DNS traffic flowing on the wire. i.e. if your application makes a query for domainX at 2 PM and you don't see corresponding DNS packet at 2 PM in trace than that name got resolved using client side cache.
I know, it is kind of convoluted way to confirm the cache size. I concur there should be better way to confirm this.
Try shooting a question in Microsoft official forums or try sending a email to networking team
here. http://blogs.msdn.com/wndp/
Solution 2:
Give this a whirl:
HKLM\System\CurrentControlSet\services\Dnscache\Parameters\MaxCacheSize
I can't find any documentation for it, but the Dnscache service does check for the existence of that registry value when it starts up, so it's worth testing.
The value is probably in kilobytes. Like I said, since it's undocumented, you'll have to test.