NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bind reacts badly to dhcpcd losing/regaining connectivity



On Sat 15 Apr 2017 at 13:55:08 +0700, Robert Elz wrote:
> Changing the bind() call is easy, fixing all the places it is assumed to
> work the way it now does is harder.

Ah, that is probably why the following attempt did not cause bind to
open a wildcard socket:

    listen-on-v6 { any; };	/* I had this one already */
    listen-on { any; };		/* The next two were new */
    automatic-interface-scan false;

but this made no difference, bind still logged the same thing as before:

listening on IPv6 interfaces, port 53
listening on IPv4 interface re0, 10.0.0.16#53
listening on IPv4 interface re1, 192.168.178.20#53
listening on IPv4 interface lo0, 127.0.0.1#53

> kre
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl    -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index