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

    IPv6 seems to break unbound 23.09.1

    Scheduled Pinned Locked Moved IPv6
    6 Posts 2 Posters 799 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.
    • Martin_DM
      Martin_D
      last edited by

      Setting up ipv6 stops unbound from starting up I can’t figure it out

      My setup is

      IPv6 Configuration Type DHCP6

      Request only an IPv6 prefix Yes

      DHCPv6 Prefix Delegation size 56

      Send IPv6 prefix hint Yes

      Jan 18 10:07:02 unbound 94775 [94775:0] error: Bad local-data RR pfSense.home. AAAA fe80::2694:cbff:fedd:4bd1%igc0 Jan 18 10:07:02 unbound 94775 [94775:0] fatal error: Could not set up local zones Jan 18 10:08:02 unbound 95771 [95771:0] error: error parsing local-data at 19 'pfSense.home. AAAA fe80::2694:cbff:fedd:4bd1%igc0': Conversion error, ip6 addr expected Jan 18 10:08:02 unbound 95771 [95771:0] error: Bad local-data RR pfSense.home. AAAA fe80::2694:cbff:fedd:4bd1%igc0

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Martin_D
        last edited by Gertjan

        @Martin_D said in IPv6 seems to break unbound 23.09.1:

        Bad local-data RR pfSense.home. AAAA fe

        "pfSense" is ok for me, as I use the same host name 😊

        But the domain "home dot' can't be ok : why not a "home dot arpa" = "home.arpa" ?
        You must use a syntax valid domain name ....

        Test :

        [23.09.1-RELEASE][root@pfSense.bhf.net]/root: dig pfsense.bhf.net AAAA +short
        2a01:cb19:dead:beef:92ec:77ff:fe29:392c
        [23.09.1-RELEASE][root@pfSense.bhf.net]/root: dig -x 2a01:cb19:dead:beef:92ec:77ff:fe29:392c +short
        pfSense.bhf.net.
        

        @Martin_D said in IPv6 seems to break unbound 23.09.1:

        IPv6 Configuration Type DHCP6

        Request only an IPv6 prefix Yes

        DHCPv6 Prefix Delegation size 56

        Send IPv6 prefix hint Yes

        These are the DHCPv6 settings.
        Every ISP needs these according their own criteria.

        Mine needs close to nothing :

        085adb59-da09-4c21-a46f-ccf2c842b618-image.png

        as 'they' (actually the DHCP6 server in my ISP box) gives me just one /64 😵 .....
        I guess IPv6 (DHCPv6) will be straight forward somewhere in the future. After all, DHCP(v4) took also a decade or so to settle in and become 'simple'.

        My 'unbound' uses :

        cd2889fd-c8b7-4c3f-98ef-b420a6e0329c-image.png

        Probably not the most perfect setting, but "its work for me", unbound is happy and resolves over IPv6 just fine.

        Btw : I'm using 23.09.1 also.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        Martin_DM 1 Reply Last reply Reply Quote 1
        • Martin_DM
          Martin_D @Gertjan
          last edited by

          @Gertjan

          Thanks changed the name but still getting this error

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Martin_D
            last edited by Gertjan

            @Martin_D

            can you check what unbound uses when it starts :

            fb2564f3-9bb2-4bc5-beb7-ca41412aec6e-image.png

            edit : also : restart unbound : go to the Services > DNS Resolver > General Settings page, without modifying anything, Hit Save and then Apply.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            Martin_DM 1 Reply Last reply Reply Quote 0
            • Martin_DM
              Martin_D @Gertjan
              last edited by

              @Gertjan

              local-zone: "home.arpa." transparent

              local-data-ptr: "127.0.0.1 localhost.home.arpa"

              local-data: "localhost. A 127.0.0.1"

              local-data: "localhost.home.arpa. A 127.0.0.1"

              local-data-ptr: "::1 localhost.home.arpa"

              local-data: "localhost. AAAA ::1"

              local-data: "localhost.home.arpa. AAAA ::1"

              local-data-ptr: "Removed pfSense.home.arpa"

              local-data: "pfSense.home.arpa. A Removed"

              local-data-ptr: "fe80::2694:cbff:fedd:4bd1%igc0 pfSense.home.arpa"

              local-data: "pfSense.home.arpa. AAAA fe80::2694:cbff:fedd:4bd1%igc0"

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @Martin_D
                last edited by

                @Martin_D said in IPv6 seems to break unbound 23.09.1:

                local-data: "pfSense.home.arpa. AAAA fe80::2694:cbff:fedd:4bd1%igc0"

                That's the one I do not have :

                local-data: "pfSense.brit-hotel-fumel.net. AAAA 2a01:cb19:dead:beef:92ec:77ff:fe29:392c"

                I've no "%igc0" (the network name part) and for ùme, unbound has troubles this "%igc0".
                I've no "fe80" IPv6, but a 'real' "2a01:xxx" as that's part of the prefix DHCPv6 client on WAN obtained.
                For me, 2a01:cb19:dead:beef:92ec:77ff:fe29:392c was assigned as the LAN IPv6.

                The error :

                Conversion error, ip6 addr expected

                makes me thing that unbound doesn't understand the "%igc0" part.

                Probably not related, but this one

                Request only an IPv6 prefix Yes

                The prefix or prefixxes (multiple /64) are for your LAN(s).
                You don't want an Ipv6 for your pfSense WAN ? I tend to not check that option.

                Another one : what do you have here :

                e7358334-fd04-4b7b-a20f-74042557b554-image.png

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

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