unbound: error: outgoing tcp: bind: Can't assign requested address

Started by zitlo, April 03, 2019, 11:33:12 AM

Previous topic - Next topic
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.


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...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

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.

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...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....