Control: tags -1 - moreinfo
Control: tags -1 + upstream wontfix

On Thu, Mar 04, 2010 at 05:37:51PM +0200,  Rémi Denis-Courmont wrote:

> tags 571971 + moreinfo
> thanks
> 
> Le dimanche 28 février 2010 19:13:33, vous avez écrit :
> > Debian usualy uses resolvconf to add nameserver entries to /etc/resolv.conf
> > 
> > rdnssd uses a hook to instruct resolvconf of the interface name and
> >  discovered ip6 dns servers.
> > 
> > unfortunately the interface name is hardcoded to 000.rdnssd or similar
> >  which, if resolvconf manages dns entries for eth0 just causes them not to
> >  be added.
> > 
> > changing the interface namen in the hook causes only the ipv6 dns to be
> >  added which might not be the desired result.
> > 
> > Please think about a way to fix the way the hook works.
> 
> I am afraid this is a design limitation of resolvconf, which does not allow 
> more than one set of server entries for one interface. Unfortunately, I fail 
> to see how this can be fixed in the rdnssd package.

resolvconf(8) nowadays documents that there may be more than one source
per interface

OPTIONS
       -a IFACE.PROG
              Add  or  overwrite  the  record  IFACE.PROG  then run the update
              scripts if updating is enabled.  When this option  is  used  the
              information must be provided to resolvconf on its standard input
              in the format of the resolv.conf(5) file.  Each line in the file
              must be terminated by a newline.

However rdnssd does not expose the interface to the hook. I think it
merges them internally.

One could use something like lo.rdnssd, but this would affect ordering
(see interface-order(5) and /etc/resolvconf/interface-order). I think it
would be best to leave as-is.

Bernhard

Attachment: signature.asc
Description: Digital signature

Reply via email to