how to set an ipv6 dns

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Wed Jan 17 00:41:40 PST 2018


Hi,
 I got a report in ocserv that openconnect would not see an IPv6 DNS
address. Checking it further it seems that openconnect client would
only set INTERNAL_IP4_DNS with the contents of whatever the servers
provided (ipv4 or ipv6 address). As ocserv may send an IPv6 address,
that would be wrong.

The attached patch can make openconnect set INTERNAL_IP6_DNS instead,
however vpnc-script doesn't seem to anything with that variable.

Is there already some handling of IPv6 DNS addresses that I'm missing,
or it is not supported at this point?

regards,
Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-When-an-IPv6-address-is-found-set-INTERNAL_IP6_DNS.patch
Type: text/x-patch
Size: 1773 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20180117/f0eeba0a/attachment.bin>


More information about the openconnect-devel mailing list