in reply to Read hostdomain over VPN

In the past...quite long past...I had a similar issue with VPN.

After lots of head scratching and pondering, it turned out that it was actually a DNS issue. The remote user was successfully connecting over VPN but using the DNS server of their home ISP.

Replies are listed 'Best First'.
Re^2: Read hostdomain over VPN
by Takamoto (Monk) on Nov 16, 2020 at 19:08 UTC

    Thank you Bod. This is interesting, indeed. I have been able to reproduce this on my computer. I connect to the VPN of my employers, and my method in the code above returns empty; however, running a check in the browser with a tool such as https://www.ipqualityscore.com I get back IP and DNS correctly. Would this scenario apply to the experience you described?

      Since you can create this scenario just monitor your own connection to find out exactly what goes where. See Wireshark. This isn't a perl problem.

      I don't recall pointing a browser at the problem Takamoto. Probably the investigations were limited to Windows command line tools...
      I remember the sleepless nights of waking up with an idea and jumping out of bed to try it...

      The bizarre things we did when we were young and silly...or is that just me?