Hello
How does unbound determine the IP address and UDP port to use ?

Thanks



Teledyne Confidential; Commercially Sensitive Business Data
From: Tom Samplonius <[email protected]>
Sent: Wednesday, June 16, 2021 8:51 PM
To: Modster, Anthony <[email protected]>
Cc: [email protected]
Subject: Re: bind socket error

External Email

  There are a few possible causes:

1. The IP address isn't assigned, or the interface that it is assigned to, is 
down.  There is a message in your log account about wireless just connecting?

2. The UDP port is already in use by something else on the system.  My 
understanding is that Unbound manages its own port range.  No other process on 
your system should be active in that range.

3. You have an SELinux profile that doesn't allow Unbound to use same UDP port 
range that Unbound is configured to use.  At one point, the CentOS Unbound rpm 
had a SELinux profile inconsistent with the Unbound.  Or you changed the 
Unbound config, and didn't update SELInux.



Tom


On Jun 16, 2021, at 10:56 AM, Modster, Anthony via Unbound-users 
<[email protected]<mailto:[email protected]>> 
wrote:


Hello

What causes the error to bind socket ?

We have seen these errors when configured for "unbound resolver" or "unbound 
forwarding" modes.

They seem to not cause a problem, the resolver eventually resolves the request.

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [err] [12764:0] error: 
can\'t bind socket: Cannot assign requested address for 192.168.0.131 port 
59253 (len 16)

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
error sending query to auth server ip4 8.8.8.8 port 53 (len 16)

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
processQueryTargets: www.carillon.ca<http://www.carillon.ca/>. A IN

*         2021 Jun 16 17:17:35+00:00 wglng-17 wireless [notice] 
LinkManagerHandler() base station connection BSC1 r0=up r1=dn r2=dn r3=dn 
eth=dn  BSC2 r0=dn r1=dn r2=dn r3=dn eth=dn

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
DelegationPoint<.>: 0 names (0 missing), 1 addrs (1 result, 0 avail) parentNS

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
sending query: www.carillon.ca<http://www.carillon.ca/>. A IN

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [err] [12764:0] error: 
can\'t bind socket: Cannot assign requested address for 10.130.230.8 port 19652 
(len 16)

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
error sending query to auth server ip4 8.8.8.8 port 53 (len 16)

*         2021 Jun 16 17:17:34+00:00 wglng-17 unbound [info] [12764:0] info: 
processQueryTargets: www.carillon.ca<http://www.carillon.ca/>. A IN
Thanks


Teledyne Confidential; Commercially Sensitive Business Data

Reply via email to