If you use a proxy server in your company, you would like to automatically configure your clients using a WPAD.dat-file. If you use the myIpAddress()-function, this function will returns the ip address from one active network adapter, maybe from the wrong one. This function couldn’t determine, which network adapter would made the connection to your proxy server. In this case you couldn’t connect to the internet, cause the WPAD.dat file returns the wrong result.
There is no automatic metric inside the WPAD.dat to detect, which adapter is the active adapter, nearest to your proxy server. You need to set the ip metric manualy on each network adapter:
Maybe you want to disable the autodiscovery feature in Outlook 2007 / 2010 for your full mail domain – maybe you don’t like the feature, or your mail server doesn’t support it.
For this, there is an easy solution:
Define in your DNS-server an A-entry for autodiscover.domain.com pointing to 127.0.0.1.