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

    Alias tables don't contain IPv6 addresses anymore

    Scheduled Pinned Locked Moved IPv6
    ipv6aliasestableshostnames
    20 Posts 4 Posters 1.1k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @Gertjan
      last edited by

      @Gertjan said in Alias tables don't contain IPv6 addresses anymore:

      What am I doing wrong ?

      You are using a DNS-record which is public available I bet. It probably doesn't get resolved only by DHCP and unbound. If this makes sense.

      GertjanG 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @Gertjan
        last edited by Bob.Dig

        @Gertjan said in Alias tables don't contain IPv6 addresses anymore:

        works for me.

        Although, it is looking not to be a public record, interesting... What are you doing? It still doesn't work for me. Are you using Track Interface like we do?

        Screenshot 2025-01-27 at 14-41-54 pfSense.internal - Services DNS Resolver General Settings.png

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @Bob.Dig
          last edited by Gertjan

          @Bob-Dig said in Alias tables don't contain IPv6 addresses anymore:

          You are using a DNS-record which is public available I bet

          No ..... but read on 👍

          This info is only available locally, on my pfSense :

          6bf3f59e-ef40-4761-8507-8a81b438bd02-image.png

          and now you know what IPv4 my NAS is using .... can you rach uit ?
          Again, it's 192.168.1.33 .....

          As my ISP gave me some IPv6 prefixes, no need anymore to use RFC1918 (IPv6 style), so yeah, that on, I masked as 2a01:cb19:xxx:a6eb::c2 as this is usable from anywhere on the Internet.
          "2a01:cb19:xxx:a6" is the part of IPv6 that my ISP gave me.
          "eb" is the prefix.
          And I use "::c2" (Static DHCPv6 Lease) for my NAS as I refuse to deal with IP addresses like this :
          2a01:cb19:xxx:a6eb:92ec:77ff:fe29:392c

          Btw : and yes, as I use :

          [24.11-RELEASE][root@pfSense.bhf.tld]/root: pgrep -l kea
          19370 kea-dhcp-ddns
          15979 kea-dhcp4
          23186 kea-ctrl-agent
          48019 kea-dhcp6
          

          => It's kea-dhcp-ddns that registers DHCPv6 leases also into domain name server (bind) that handles "bhf.tld" for me. It's the good old RFC2136 doing 'dynsnds'.
          So, from now on, I can look for "disktation2.bhf.tld" everywhere on the planet and find the IPv6 of my LAN based NAS. Accessing it needs a simple firewall rule - no more NAT.
          It's BS to register 'A' zone info like 92.168.1.33 into a public DNS.
          But totally valid to register GUA AAAA info like "2a01:cb19:xxx:a6eb::c2"

          kea-dhcp-ddns ( and kea-ctrl-agent ) exists in pfSense, but isn't avaible yet in the GUI.

          @Bob-Dig said in Alias tables don't contain IPv6 addresses anymore:

          You are using a DNS-record which is public available ....

          Resolving public avaible host names work fine for me ^^

          There are some restrictions of course, but this is a good example :

          1b291c7e-eb0e-4282-87c5-a7fc62c2a80d-image.png

          test :

          4129be16-b7c1-4f3d-9039-be005cb9b0e8-image.png

          @Bob-Dig said in Alias tables don't contain IPv6 addresses anymore:

          Are you using Track Interface like we do?

          Aaaaah : the good question !!
          Of course I do use tracking.
          I guess there are not many out there that get an IPv4 from their ISP, and a static ( ! ) IPv6 /56.
          So, tracking it will be : my LAN settings :

          1d10e4e5-8f40-4109-9a4b-9cc5c6d14526-image.png

          5e289145-52fb-4af9-84bb-a8942e751420-image.png

          and wait .. I had to modify something somewhere. I've also written about it here on the forum. somewhere.
          Because : look here :

          36ab2649-28cd-472c-9a0d-555f89ad21f5-image.png

          and now look in the config.xml what IPv6 addresses are stored when you create static DHCPv6 leases
          My NAS :

          62b345e4-7866-4412-98e1-664841367bec-image.png

          so "::c2" got entered in my local Resolver DNS ... 😢 and that's a fail.

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

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @Gertjan
            last edited by

            @Gertjan said in Alias tables don't contain IPv6 addresses anymore:

            so "::c2" got entered in my local Resolver DNS

            Yeah, that is the early DNS-Registration which you have to disable. So you are using BIND, we don't. That is probably the reason it is working for you, like it should, and not for us anymore.

            I 1 Reply Last reply Reply Quote 0
            • I
              IonutIT @Bob.Dig
              last edited by IonutIT

              @Bob-Dig

              Just started doing things, throwing stuff at the wall and see what sticks, and surprisingly I've managed to get it working now, with KEA.

              After I switched to ISC and confirmed it worked, I've switched back to KEA but I've disabled "Enable early DNS registration" for BOTH IPv6 and IPv4.

              Previously I had it disabled for IPv6 because it caused weird DNS records where only the host part of the address was registered, and I would have results like "::10:23:ef32:aa21" as a AAAA record, and not the full address with the prefix delegation from the Track Interface setting. Exactly like you described.

              But now I've also disabled it for IPv4 and it seems that alias tables have proper A and AAAA records in them. I'm not 100% sure that this was the case, but I'm not touching anything going forward :) I'll see after a reboot if this stays like this.

              Bob.DigB 2 Replies Last reply Reply Quote 1
              • Bob.DigB
                Bob.Dig LAYER 8 @IonutIT
                last edited by

                @IonutIT So I disabled that too for IPv4 and immediately lost connection to my internal mail-server. I think I have to run that for IPv4...

                I 1 Reply Last reply Reply Quote 0
                • Bob.DigB
                  Bob.Dig LAYER 8 @IonutIT
                  last edited by

                  @IonutIT said in Alias tables don't contain IPv6 addresses anymore:

                  But now I've also disabled it for IPv4 and it seems that alias tables have proper A and AAAA records in them

                  Can confirm that this made it work again. My problematic IPv4 hostname is case-senstive now? I changed it and it is working too.

                  1 Reply Last reply Reply Quote 0
                  • I
                    IonutIT @Bob.Dig
                    last edited by

                    @Bob-Dig said in Alias tables don't contain IPv6 addresses anymore:

                    @IonutIT So I disabled that too for IPv4 and immediately lost connection to my internal mail-server. I think I have to run that for IPv4...

                    I think that was just because there was no predefined record pushed and the DHCP server needed to register your server again at a DHCP event. You just had to wait a bit and a record would appear eventually. I had the same but all records eventually showed up after 10-15 minutes.

                    1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee
                      last edited by

                      Is your zone transparent ? I had an issue with mine set to (type transparent) and it was causing issues

                      Make sure to upvote

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        IonutIT @JonathanLee
                        last edited by

                        @JonathanLee said in Alias tables don't contain IPv6 addresses anymore:

                        Is your zone transparent ? I had an issue with mine set to (type transparent) and it was causing issues

                        Zone type is at default "transparent" not "type transparent".

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