NetBSD-Users archive

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

bind reacts badly to dhcpcd losing/regaining connectivity



About 8 days ago, my ADSL modem lost connection to the world for a bit,
and then regained it. dhcpcd (6.11.3 from pkgsrc) all the while
furiously re-tried to regain a lease, but when it did, named (from
NetBSD 7.0.1) was broken:

Apr  7 13:39:47 murthe dhcpcd[5396]: re1: DHCPv6 REPLY: no internet connection
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: soliciting a DHCPv6 lease
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: DHCPv6 REPLY: no internet connection
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: soliciting a DHCPv6 lease
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: changing route to fd00::/64
Apr  7 13:39:47 murthe named[14296]: listening on IPv4 interface re1, 192.168.178.20#53
Apr  7 13:39:47 murthe named[14296]: could not listen on UDP socket: permission denied
Apr  7 13:39:47 murthe named[14296]: creating IPv4 interface re1 failed; interface ignored
Apr  7 13:39:47 murthe named[14296]: listening on IPv4 interface re1, 192.168.178.20#53
Apr  7 13:39:47 murthe named[14296]: could not listen on UDP socket: permission denied
Apr  7 13:39:47 murthe named[14296]: creating IPv4 interface re1 failed; interface ignored
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: DHCPv6 REPLY: no internet connection
Apr  7 13:39:47 murthe dhcpcd[5396]: re1: soliciting a DHCPv6 lease
Apr  7 13:39:48 murthe dhcpcd[5396]: re1: DHCPv6 REPLY: no internet connection
Apr  7 13:39:48 murthe dhcpcd[5396]: re1: soliciting a DHCPv6 lease
Apr  7 13:39:48 murthe dhcpcd[5396]: re1: adding address 2001:984:xxxxxxxxxxxxxxxxxxxxxxxxxx/64
Apr  7 13:39:48 murthe dhcpcd[5396]: re1: adding route to 2001:984:xxxxxx::/64
Apr  7 13:39:48 murthe dhcpcd[5396]: re1: adding default route via fe80::xxxxxxxxxxxxxxxxxxx
Apr  7 13:39:48 murthe named[14296]: listening on IPv4 interface re1, 192.168.178.20#53
Apr  7 13:39:48 murthe named[14296]: could not listen on UDP socket: permission denied
Apr  7 13:39:48 murthe named[14296]: creating IPv4 interface re1 failed; interface ignored
Apr  7 13:39:48 murthe named[14296]: listening on IPv4 interface re1, 192.168.178.20#53
Apr  7 13:39:48 murthe named[14296]: could not listen on UDP socket: permission denied
Apr  7 13:39:48 murthe named[14296]: creating IPv4 interface re1 failed; interface ignored
Apr  7 13:39:48 murthe named[14296]: listening on IPv4 interface re1, 192.168.178.20#53
Apr  7 13:39:48 murthe named[14296]: could not listen on UDP socket: permission denied
etc etc etc every 5-10 minutes.

and these errors about re1 (my external interface) kept going all the
time. When I noticed them and restarted named, they went away.

Why does named not succeed in using the interface when it gets an
address again? What to do about it? I noticed partly because my dns data
seemed to have dropped out of caching name servers elsewhere.

-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