dhcp-option DNS IPv6 server address for windows client
Hi,
currently, openvpn does not accept an IPv6 dhcp-option DNS server address.
See:
https://forums.openvpn.net/viewtopic.php?f=23&t=22705
I also tested this on Win10 client and got the same error:
Options error: dhcp-option parameter DNS '12fc:1918::10:8:0:101' must be an IP address
So pushing this is ok but once pulled is rejected.
From IRC openvpn-devel:
cron2 | there is no way to transmit IPv6 DNS information via IPv4 DHCP, and our current DHCP stuff is IPv4-DHCP
cron2 | this is not an openvpn limitation but an IPv4 DHCP limitation - we would have to implement an IPv6 DHCP server, which we currently do not have
dazo | slypknot: could you mail d12fk and selva regarding this and get their opinion? they're kind of driving the windows part
Regards
…probably not only DHCPv6, but also Router Advertisement too. I doubt that DHCPv6 could be used without RA on Windows.
Quoted 34 lines · On 10/30/2016 12:55 AM, debbie10t wrote:
Hi,
currently, openvpn does not accept an IPv6 dhcp-option DNS server address.
See:
https://forums.openvpn.net/viewtopic.php?f=23&t=22705I also tested this on Win10 client and got the same error:
Options error: dhcp-option parameter DNS '12fc:1918::10:8:0:101' must be an IP addressSo pushing this is ok but once pulled is rejected.
From IRC openvpn-devel:
cron2 | there is no way to transmit IPv6 DNS information via IPv4 DHCP, and our current DHCP stuff is IPv4-DHCP
cron2 | this is not an openvpn limitation but an IPv4 DHCP limitation - we would have to implement an IPv6 DHCP server, which we currently do not have
dazo | slypknot: could you mail d12fk and selva regarding this and get their opinion? they're kind of driving the windows part
Regards
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
Hi,
Quoted 1 line · ValdikSS
?probably not only DHCPv6, but also Router Advertisement too. I doubt that DHCPv6 could be used without RA on Windows.
It's a somewhat multi-stage thing
- first, define a new dhcp-option (like, "DNS6") that will take a v6 address, and put it into the environment variables on the client (so scripts and networkmanger etc. can pick it up and do the right thing wrt resolv.conf)
- then, figure out how to inject this into windows - as far as I know, windows will always try to do DHCPv6, even if no RA seen, but this is
something easily tested. Maybe it can be done without DHCPv6 by
just calling an API call ("hey, here's DNS info!") on recent systems, maybe we need to implement a fake DHCPv6 server - someone needs to look into this, and come up with an implementation.
#1 could easily make 2.4, #2 is very likely to not make it.
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Am 30.10.16 um 11:16 schrieb Gert Doering:
Quoted 12 lines
Hi,
Quoted 1 line · ValdikSS
?probably not only DHCPv6, but also Router Advertisement too. I doubt that DHCPv6 could be used without RA on Windows.
It's a somewhat multi-stage thing
- first, define a new dhcp-option (like, "DNS6") that will take a v6 address, and put it into the environment variables on the client (so scripts and networkmanger etc. can pick it up and do the right thing wrt resolv.conf)
Quoted 8 lines
- then, figure out how to inject this into windows - as far as I know, windows will always try to do DHCPv6, even if no RA seen, but this is
something easily tested. Maybe it can be done without DHCPv6 by
just calling an API call ("hey, here's DNS info!") on recent systems, maybe we need to implement a fake DHCPv6 server - someone needs to look into this, and come up with an implementation.#1 could easily make 2.4, #2 is very likely to not make it.
#1 is also something I would like to have for Android.
Arne
Quoted 21 lines · Arne Schwabe
Am 30.10.16 um 11:16 schrieb Gert Doering:
Quoted 4 lines
Hi,
Quoted 1 line · ValdikSS
?probably not only DHCPv6, but also Router Advertisement too. I doubt
that DHCPv6 could be used without RA on Windows.
Quoted 15 lines
It's a somewhat multi-stage thing
- first, define a new dhcp-option (like, "DNS6") that will take a v6 address, and put it into the environment variables on the client (so scripts and networkmanger etc. can pick it up and do the right thing wrt resolv.conf)
- then, figure out how to inject this into windows - as far as I know, windows will always try to do DHCPv6, even if no RA seen, but this is
something easily tested. Maybe it can be done without DHCPv6 by
just calling an API call ("hey, here's DNS info!") on recent systems, maybe we need to implement a fake DHCPv6 server - someone needs to look into this, and come up with an implementation.
Quoted 4 lines
Quoted 1 line
#1 could easily make 2.4, #2 is very likely to not make it.
#1 is also something I would like to have for Android.
Looks like #1 is useful to have on Windows too -- we could then use netsh to set the dns server until we have a built-in dhcpv6 server implementation.
Selva
Hi,
Quoted 9 lines · Selva Nair
Quoted 9 lines
Quoted 1 line
Quoted 1 line
?probably not only DHCPv6, but also Router Advertisement too. I doubt
that DHCPv6 could be used without RA on Windows.
Quoted 7 lines
It's a somewhat multi-stage thing
- first, define a new dhcp-option (like, "DNS6") that will take a v6 address, and put it into the environment variables on the client (so scripts and networkmanger etc. can pick it up and do the right thing wrt resolv.conf)
[..]
Just as side note - there's trac#243 already for this, which is tagged as "release 2.4" :-)
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...