AW: Read Client Hostname

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Mar 3 00:43:57 PST 2016


On Wed, 2016-03-02 at 18:10 +0100, Matthias Mandlmeier wrote:
> Hi Nikos,
> 
> In the debug Log I see for example in the X-CSTP-Hostname my hostname 
> with HTTP: X-CSTP-Hostname: Matthiass-iPhone in the Server Debug Log. 
> My question is now How to read this variable in a script that I can 
> send an Dynamic DNS Update to my Bind DNS Server that also other 
> Clients can resolve the Hostname to an IP Adress when they are 
> connected via VPN.

Isn't it exported in the HOSTNAME variable available on the up/down
scripts?

regards,
Nikos




More information about the openconnect-devel mailing list