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 reply to Re: Read hostdomain over VPN
by jszinger
in thread Read hostdomain over VPN
by Takamoto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |