Tincd fails to resolve domain names before it is started name resolution becomes available.

Florian Klink flokli at flokli.de
Mon Feb 9 22:32:31 CET 2015


Am 09.02.2015 um 15:42 schrieb Guus Sliepen:
> On Mon, Feb 09, 2015 at 10:57:05AM +0100, Florian Klink wrote:
> 
>> I have some hosts which converted to systemd-networkd (which doesn't
>> support hooks by now), and most of the time, tinc simply won't come up
>> after bootup (or won't be able to reconnect when the network is
>> changed), which is really ugly.
>>
>> Having a local dns in front is somewhat hacky, I'd really love if tinc
>> would simply reload /etc/resolv.conf each time a new metaconnection is made.
> 
> It's fixed in git now; res_init() is explicitly called before every call
> to getaddrinfo(). I hope some day the glibc maintainers will see the
> light that /etc/resolv.conf is not a static file.

Thanks a lot, works like a charm :-)

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150209/49106145/attachment.sig>


More information about the tinc mailing list