Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Read hostdomain over VPN

by Bod (Parson)
on Nov 16, 2020 at 18:27 UTC ( [id://11123704]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123704]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-16 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found