Thanks for the advise, Chris. But this is getting more interesting:
As explained, I created an alias, CNAME record on my DNS, named "wpad" and pointing to the FQDN of my internal IIS server. In the exact same way as another alias I already have named "windowsupdate" pointing to the same server.
##########################
C:\>ping wpad
Ping request could not find host wpad. Please check the name and try again.
C:\>nslookup wpad <DNSServer1>
Server: <DNSServer1>.domain.net
Address: <IPofDNSServer1>
*** <DNSServer1>.domain.net can't find wpad: Non-existent domain
C:\>nslookup wpad <DNSServer2>
Server: <DNSServer2>.domain.net
Address: <IPofDNSServer2>
*** <DNSServer2>.domain.net can't find wpad: Non-existent domain
C:\>nslookup wpad <DNSServer3>
Server: <DNSServer3>.domain.net
Address: <IPofDNSServer3>
*** <DNSServer3>.domain.net can't find wpad: Non-existent domain
C:\>nslookup wpad <DNSServer4>
Server: <DNSServer4>.domain.net
Address: <IPofDNSServer4>
*** <DNSServer4>.domain.net can't find wpad: Non-existent domain
##########################
BUT if I do the same using another alias already existing that points to the SAME server, I get this:
##########################
C:\>nslookup windowsupdate <DNSServer4>
Server: <DNSServer4>.domain.net
Address: <IPofDNSServer4>
Name: <TargerServerName>.domain.ne
Address: <IPofTargetServer>
Aliases: windowsupdate.domain.net
##########################
At this point I am not sure if I am missing something really basic or if I should be worried about some wrong DNS behavior...
Any clue?? Thanks in advance.
Main Topics
Browse All Topics





by: Chris-DentPosted on 2009-05-20 at 02:10:27ID: 24429751
You should be able to lookup wpad, provided your client is querying the DNS server holding the record. Can you direct a query at the DNS server itself with "nslookup wpad somednsserver"?
The isInNet bases its response on the connecting IP Address. So if you have a VPN tunnel it should base it on the IP of the VPN interface as that would be forming the connection to the Proxy. Using it wpad / proxy.pac here over several VPN connections without having to consider anything about the client's local network.
Chris