Re: IPv6, automatic configuration and nameservers
Hi all, Le 22/06/2013 03:28, Brad Smith a écrit : On 13/06/13 7:53 AM, Gregor Best wrote: Hi list, recently, I've been playing around a bit with IPv6, and IPv6-only networks. While doing that, I have not found an automated way to add nameservers announced via router advertisements. dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's -R option for adding recursive nameservers (and porting that without also porting resolvconf seems to be less than trivial). Is there a canonical solution with only the things in base or should I just use something from ports? And what's the port people use for that? As you have already noticed our rtsold does not have support for RFC 6106 (yet). The only option you have at the moment is using a DHCPv6 client such as net/isc-dhcp. Stephane Sezer developped a patch more than 2 years ago : http://openbsd.7691.n7.nabble.com/RFC6106-RDNSS-and-DNSSL-options-support-for-rtadvd-8-td162760.html It seems it hasn't been merged but it worked nicely back then. Denis
Re: IPv6, automatic configuration and nameservers
On 23/06/13 3:59 PM, Denis Fondras wrote: Hi all, Le 22/06/2013 03:28, Brad Smith a écrit : On 13/06/13 7:53 AM, Gregor Best wrote: Hi list, recently, I've been playing around a bit with IPv6, and IPv6-only networks. While doing that, I have not found an automated way to add nameservers announced via router advertisements. dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's -R option for adding recursive nameservers (and porting that without also porting resolvconf seems to be less than trivial). Is there a canonical solution with only the things in base or should I just use something from ports? And what's the port people use for that? As you have already noticed our rtsold does not have support for RFC 6106 (yet). The only option you have at the moment is using a DHCPv6 client such as net/isc-dhcp. Stephane Sezer developped a patch more than 2 years ago : http://openbsd.7691.n7.nabble.com/RFC6106-RDNSS-and-DNSSL-options-support-for-rtadvd-8-td162760.html It seems it hasn't been merged but it worked nicely back then. Denis That is for rtadvd, which has been integrated, not rtsold. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: IPv6, automatic configuration and nameservers
Le 23/06/2013 22:06, Brad Smith a écrit : That is for rtadvd, which has been integrated, not rtsold. Doh ! You are right, sorry for the noise. Denis
Re: IPv6, automatic configuration and nameservers
On Fri, Jun 21, 2013 at 09:28:32PM -0400, Brad Smith wrote: [...] As you have already noticed our rtsold does not have support for RFC 6106 (yet). The only option you have at the moment is using a DHCPv6 client such as net/isc-dhcp. [...] That's what I do at the moment. I have a small script that uses dhcp6c (from net/wide-dhcpv6) in info-req mode to grab the nameserver from DHCPv6. That means I have to set up DHCPv6 in addition to router advertisements, but I am the administrator of all v6-only networks I have access to so that's not to big of a deal. While setting that up, I noticed a small bug in rtsold. When called as rtsol it does not recognize the -O option. I will cook up a small patch to fix that soon(ish). -- Gregor Best
Re: IPv6, automatic configuration and nameservers
On 13/06/13 7:53 AM, Gregor Best wrote: Hi list, recently, I've been playing around a bit with IPv6, and IPv6-only networks. While doing that, I have not found an automated way to add nameservers announced via router advertisements. dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's -R option for adding recursive nameservers (and porting that without also porting resolvconf seems to be less than trivial). Is there a canonical solution with only the things in base or should I just use something from ports? And what's the port people use for that? As you have already noticed our rtsold does not have support for RFC 6106 (yet). The only option you have at the moment is using a DHCPv6 client such as net/isc-dhcp. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
IPv6, automatic configuration and nameservers
Hi list, recently, I've been playing around a bit with IPv6, and IPv6-only networks. While doing that, I have not found an automated way to add nameservers announced via router advertisements. dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's -R option for adding recursive nameservers (and porting that without also porting resolvconf seems to be less than trivial). Is there a canonical solution with only the things in base or should I just use something from ports? And what's the port people use for that? -- Gregor Best
Re: IPv6, automatic configuration and nameservers
On Thu, Jun 13, 2013 at 01:53:20PM +0200, Gregor Best wrote: [...] (and porting that without also porting resolvconf seems to be less than trivial). [...] For the record, I meant 'not trivial' instead of 'less than trivial'. -- Gregor Best