OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • unbound: error: outgoing tcp: bind: Can't assign requested address
« previous next »
  • Print
Pages: [1]

Author Topic: unbound: error: outgoing tcp: bind: Can't assign requested address  (Read 7350 times)

zitlo

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 5
    • View Profile
unbound: error: outgoing tcp: bind: Can't assign requested address
« 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?

Code: [Select]
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.

Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: unbound: error: outgoing tcp: bind: Can't assign requested address
« Reply #1 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...
Logged
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....

zitlo

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 5
    • View Profile
Re: unbound: error: outgoing tcp: bind: Can't assign requested address
« Reply #2 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:

Code: [Select]
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.
« Last Edit: April 03, 2019, 12:28:56 pm by zitlo »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: unbound: error: outgoing tcp: bind: Can't assign requested address
« Reply #3 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...
Logged
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....

zitlo

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 5
    • View Profile
Re: unbound: error: outgoing tcp: bind: Can't assign requested address
« Reply #4 on: April 03, 2019, 03:37:22 pm »
Thank you!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • unbound: error: outgoing tcp: bind: Can't assign requested address
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2