• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Unbound error: can't bind socket: Can't assign requested address for x.x.x.x

Scheduled Pinned Locked Moved Routing and Multi WAN
3 Posts 2 Posters 5.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wbond
    last edited by Jun 28, 2016, 2:29 AM

    I setup dual wan a week or so ago and came home today to find our primary internet connection down.  We still had internet access so the system had failed over and seemed to be working.  In checking the logs I noticed that the DNS resolver log was showing the following over and over several times a second.

    Jun 27 20:05:02  unbound  49531:6  error: can't bind socket: Can't assign requested address for 174.xxx.xxx.xxx

    The IP address in the log was the IPV4 of the primary WAN before it went down.  The default gateway is DSL pppoe and the secondary is a cable connection.

    I'm using pfSense 2.3.1-RELEASE-p5 (amd64) and the DNS resolver in non-forwarding mode.  I have default gateway switching enabled.  In testing I've done since setting it up it seems to failover correctly.  While I was getting this in the resolver log DNS seemed to be working ok.  When the default gateway came back up the resolver log went back to normal.

    Has anyone seen this before?  Do I have something misconfigured?

    Thanks in advance.
    ![Screen Shot 06-27-16 at 08.08 PM.PNG](/public/imported_attachments/1/Screen Shot 06-27-16 at 08.08 PM.PNG)
    ![Screen Shot 06-27-16 at 08.08 PM.PNG_thumb](/public/imported_attachments/1/Screen Shot 06-27-16 at 08.08 PM.PNG_thumb)

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jun 28, 2016, 3:16 AM

      If you have specific interfaces bound, and their IP goes away, it'll do that. Best to either let it bind to all, or only specify LAN IPs.

      1 Reply Last reply Reply Quote 0
      • W
        wbond
        last edited by Jun 28, 2016, 3:46 AM

        You nailed it Chris.  I had it bound to only my internal networks and localhost under Network Interfaces, and only WAN/WAN2 under Outgoing Network Interfaces.

        Thank you.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received