How does Windows detect it is online?

I always assumed that Windows assumes that it is on the Internet when there is a default gateway.

Turns out this is not the case!

How does it judge, it is on the Internet? Does it "phone home"?


As documented at

http://technet.microsoft.com/en-us/library/cc766017(WS.10).aspx

nslookup dns.msftncsi.com followed by HTTP GET www.msftncsi.com/ncsi.txt