[RFC] resolvconf(8) interface id

2011-06-15 Thread Hiroki Sato
Hi, I would like your comments about the following issue and proposal. The background is as follows. The resolvconf(8) utility has been imported some time before to handle update of /etc/resolv.conf by using multiple RDNSS (recursive DNS server) information sources. The possible sources ar

Re: [RFC] resolvconf(8) interface id

2011-06-15 Thread Bjoern A. Zeeb
On Jun 15, 2011, at 4:53 PM, Hiroki Sato wrote: Hi, > ... > My proposal is adding a string representing the information source to > the interface id which is used for resolvconf(8). Specifically, I > would like to propose to use the following syntax throughout > utilities that update /etc/resolv.

Re: [RFC] resolvconf(8) interface id

2011-06-15 Thread Aleksandr Rybalko
Hi, On Wed, 15 Jun 2011 20:21:15 + "Bjoern A. Zeeb" wrote: > On Jun 15, 2011, at 4:53 PM, Hiroki Sato wrote: > > Hi, > > ... > > My proposal is adding a string representing the information source > > to the interface id which is used for resolvconf(8). Specifically, > > I would like to pro

Re: [RFC] resolvconf(8) interface id

2011-06-15 Thread Hajimu UMEMOTO
Hi, > On Wed, 15 Jun 2011 20:21:15 + > "Bjoern A. Zeeb" said: bzeeb> having helped some friends running penguin OS in the past I have been bzeeb> confronted with what OpenSuse does. Apart from a completely over bzeeb> engineered framework they have the ability to sort entries by ifn

Re: [RFC] resolvconf(8) interface id

2011-06-15 Thread Hiroki Sato
"Bjoern A. Zeeb" wrote in <6fe95ac6-ccb2-45b0-8347-ab31283ee...@lists.zabbadoz.net>: bz> I am not entirely sure I like "slaac" or "dhcp4". I wonder if progname bz> would be sufficient in call cases either (I could well see a "dhclient" bz> or another "fooapp" that can handle both v4 and v6) bu

Re: [RFC] resolvconf(8) interface id

2011-06-16 Thread Bjoern A. Zeeb
On Jun 15, 2011, at 10:19 PM, Aleksandr Rybalko wrote: > Maybe better to add default but changeable preference for each iface, > like STP do: > 1000Base - 20 > 100Base - 200 > PPP - 2000 > > sources able to give IPv6 info for as we can give more preference > (1000Base w/ IPv6 info - 19, 100 w/ v6

Re: [RFC] resolvconf(8) interface id

2011-06-16 Thread Bjoern A. Zeeb
On Jun 16, 2011, at 5:28 AM, Hiroki Sato wrote: Hi Umemoto-san, Sato-san, > Our openresolv currently supports $interface_order with shell pattern > matching only. What I thought was > > interface_order="lo lo[0-9]* *:ppp *:slaac *:dhcpv4 [a-z]*[0-9]*:*" Hmm, indeed we do and I hadn't actually

Re: [RFC] resolvconf(8) interface id

2011-06-16 Thread Hajimu UMEMOTO
Hi, > On Thu, 16 Jun 2011 13:00:32 + > "Bjoern A. Zeeb" said: bzeeb> I can imaging ports like mpd, ... to join this scheme and by then bzeeb> there might be different "ppp" or "dhcpv4", "dhcpv6" or even different bzeeb> "slaac". The advantage of this one is that if I prefer dhcpv6 o

Re: [RFC] resolvconf(8) interface id

2011-06-17 Thread Hiroki Sato
"Bjoern A. Zeeb" wrote in : bz> The only thing I am only still pondering - do we want it to be bz> "slaac" "dchpv4" or the program name? I can see advantages with both. bz> If we go with "slaac" etc. we might need to - at least for the three or so bz> things from base, add a table to the man

Re: Dynamin/Static Resolver Table [netstat like] ( was [RFC] resolvconf(8) interface id )

2011-06-16 Thread jhell
On Thu, Jun 16, 2011 at 10:29:50PM -0400, jhell wrote: > > > On Thu, Jun 16, 2011 at 01:53:17AM +0900, Hiroki Sato wrote: > > Hi, > > > > I would like your comments about the following issue and proposal. > > > > The background is as follows. The resolvconf(8) utility has been > > importe