OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: zitlo on April 03, 2019, 11:33:12 AM

Title: unbound: error: outgoing tcp: bind: Can't assign requested address
Post by: zitlo on April 03, 2019, 11:33:12 AM
Hello,

my system:
OPNsense 19.1.4-amd64
FreeBSD 11.2-RELEASE-p9-HBSD
OpenSSL 1.0.2r 26 Feb 2019

I get a lot of this error messages, how can I debug them?

unbound: [25079:3] error: outgoing tcp: bind: Can't assign requested address

I try to set the interfaces manually but I get the same error, doesnt matter which interface I choose.

Title: Re: unbound: error: outgoing tcp: bind: Can't assign requested address
Post by: chemlud on April 03, 2019, 12:04:10 PM
Is OPT1 really your WAN interface via which you want to ask the DNS servers? Did you try with IPv4 addresses only  (simply comment out the IPv6 stuff)? Try 9.9.9.9 and its derivatives instead...
Title: Re: unbound: error: outgoing tcp: bind: Can't assign requested address
Post by: zitlo on April 03, 2019, 12:25:09 PM
Hey chemlud,

thank you for helping me.

OPT1 is my WAN iface, yes.

whith the following configuration it works without errors:

ssl-upstream: yes
forward-zone:
name: "."
forward-addr: 9.9.9.9@853


Maybe its because of ipv6 and pppoe...
Do you think 9.9.9.9 is better than 8.8.8.8 or 1.1.1.1?

Because quad9 DNS is located in the US, I have longer roundtrip for each request.
Title: Re: unbound: error: outgoing tcp: bind: Can't assign requested address
Post by: chemlud on April 03, 2019, 03:09:21 PM
If you are in Europe, see here for some decent DNS servers with privacy

https://www.privacy-handbuch.de/handbuch_93d.htm

Never go with one server, always have 3 on your list...
Title: Re: unbound: error: outgoing tcp: bind: Can't assign requested address
Post by: zitlo on April 03, 2019, 03:37:22 PM
Thank you!