Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Read hostdomain over VPNby jszinger (Scribe) |
on Nov 16, 2020 at 21:42 UTC ( [id://11123719]=note: print w/replies, xml ) | Need Help?? |
On my work laptop perl -MNet::Domain -E'say Net::Domain::hostfqdn returns 'example.lan' on my home network and nothing when connected to work’s VPN. Not surpising, since they don’t provide a DNS entry for the VPN connection. Also, what should happen if a worker tries to use the program when disconnect from the VPN?
In Section
Seekers of Perl Wisdom
|
|