Hello,


> I  don't know how and why this happens, but sometimes rdnssd thinks it
> got no  nameserver information, so it just removes everything from
> /etc/resolv.conf  or resolvconf leaving the system with the wrong
> resolver  configuration.

RDNSS information does expire when its lifetime is over, and removing
stale entries is correct and expected behavior. Is this the cause of
your problem? The current merge hook script may be blunt if resolvconf
is not installed, but the next version will remove only IPv6
nameservers.

> As the work-around, the merge hook can be modified to  replace the
> nameservers only if the rdnssd's internal resolv.conf isn't  empty.
> The patch to /etc/rdnssd/merge-hook is attached.

No, this isn't right in the general case because it would prevent
rdnssd from removing stale resolver information. Of course, until
handling of multiple nameserver configuration source is better
integrated system-wide, you're encouraged to modify the merge hook
script to suit your particular needs.

-- 
Pierre Ynard




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to