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

    Unbound Resolver IPv6 issue

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.8k 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.
    • D
      DigitalDeviant
      last edited by

      I'm having issues getting Unbound to work with IPv6 on 2.2.1. I'm 80% sure it was working on the initial 2.2 release and 100% sure it was working on 2.1.5 as a package. Now, when I try to start the resolver I get

      php-fpm[33355]: /status_services.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1427117673] unbound[73651:0] debug: creating udp4 socket 192.168.201.1 53 [1427117673] unbound[73651:0] debug: creating tcp4 socket 192.168.201.1 53 [1427117673] unbound[73651:0] debug: creating udp6 socket 2xxx:xxx:xxx:20:: 53 [1427117673] unbound[73651:0] error: can't bind socket: Can't assign requested address for 2xxx:xxx:xxx:20:: port 53 (len 28) [1427117673] unbound[73651:0] fatal error: could not open ports'
      

      If I select All for the network interface it starts but isn't listening on IPv6. If I set the network interface to just LAN it won't even start. Any help would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • D
        DigitalDeviant
        last edited by

        A little more digging and it looks like if I set a static IPv6 address on my LAN, the issue occurs. If I set it to a track interface, it fails.

        1 Reply Last reply Reply Quote 0
        • D
          DigitalDeviant
          last edited by

          Clean install of 2.2.2 fails still. Can anyone help me? It seems ridiculous that I can't use this box as an IPv6 DNS resolver unless I'm using a track interface.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            You know, it works perfectly fine with IPv6 static IP and without any track interface nonsense. Make sure you have disabled the DNS forwarder.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.