Split DNS
commit099d72591ed55f2a84564c0ccc8ab0bedd927e31
authorAntonio Borneo <Antonio Borneo@315857ad-0bdb-0310-b42e-dec37551a5f0>
Sun, 1 Dec 2013 10:20:19 +0000 (1 10:20 +0000)
committerAntonio Borneo <Antonio Borneo@315857ad-0bdb-0310-b42e-dec37551a5f0>
Sun, 1 Dec 2013 10:20:19 +0000 (1 10:20 +0000)
tree771e379dac7d4dc9f2578123dae0de5e979c026e
parent45f52f084a0dc3eeca9d5be19c560b64a2273e6d
Split DNS

In AnyConnect the server seems to offer an X-CSTP-Split-DNS: header,
which can appear multiple times, with search domains for the client to
use. I'm exporting these in $CISCO_SPLIT_DNS, space-separated.
(A. Borneo: in recent openconnect it is now comma-separated)

I see that there's an ISAKMP_MODECFG_ATTRIB_CISCO_SPLIT_DNS, but we
don't seem to *do* anything with it. Like the IPv6 attributes which we
also ignore, just make vpnc clear the environment variable.

We really ought to make vpnc *support* these, given that we know how to
recognise them. But that's left as an exercise for someone who actually
has access to a server.

A. Borneo:
This patch completes Evan Broder's one.

Author: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
git-svn-id: https://svn.unix-ag.uni-kl.de/vpnc/trunk@533 315857ad-0bdb-0310-b42e-dec37551a5f0
vpnc.c