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

    Azure Dynamic DNS w IPv6 address

    Scheduled Pinned Locked Moved DHCP and DNS
    10 Posts 4 Posters 1.2k 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.
    • M
      mhab12
      last edited by

      Using the great notes in this other post Azure Dynamic DNS setup help I was able to get my Dynamic DNS updating to Azure DNS just fine for IPv4.

      PFSense thinks my IPv6 addresses are updating correctly (shown in green on the status, log says IP address changed successfully) but in Azure they are showing up as blank (a hyphen to be exact). The updates do indeed hit Azure as they wipe out any IPv6 address I have manually entered into Azure. Any tips for using IPv6 with Azure for Dynamic DNS?

      JKnottJ 1 Reply Last reply Reply Quote 0
      • M
        mhab12
        last edited by mhab12

        This:
        https://redmine.pfsense.org/issues/9248
        Guess I will wait patiently for the next release.

        1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @mhab12
          last edited by

          @mhab12

          Why do you need dynamic DNS for IPv6? Normally, your addresses shouldn't change.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          1 Reply Last reply Reply Quote 0
          • M
            mhab12
            last edited by

            The short answer is I don’t. IPv4 works just fine.

            The long answer is that each time the router reboots, it’s IPv6 changes (Spectrum residential cable internet).

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @mhab12
              last edited by

              @mhab12 said in Azure Dynamic DNS w IPv6 address:

              The short answer is I don’t. IPv4 works just fine.

              The long answer is that each time the router reboots, it’s IPv6 changes (Spectrum residential cable internet).

              Go to the WAN page and ensure "Do not allow PD/Address release" is selected.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

              1 Reply Last reply Reply Quote 1
              • B
                bigtfromaz
                last edited by

                @mhab12 I see the pull request for the fix has been merged. Does anyone have a date when that may find its way into a release?

                1 Reply Last reply Reply Quote 0
                • MikeV7896M
                  MikeV7896
                  last edited by MikeV7896

                  With the fix completed, you could use the System Patches package to apply the commit URL below as a patch to pfSense. It will patch the appropriate file and allow things to work while waiting for the official update. Once the update containing the fix is released (it looks like it will be part of 2.5.0, so it might be a while), you can revert the patch before performing the update to ensure all updates just fine.

                  https://github.com/pfsense/pfsense/pull/4064/commits/1ca156ea0875014b5175855c9fe8459950173d0b

                  I added this as a patch to my 2.4.4p3 pfSense box and it's now successfully updating my IPv6 hosts in my Azure DNS.

                  Now if only I could use @ as a hostname in pfSense to properly update the default entry for the domain.

                  The S in IOT stands for Security

                  B 2 Replies Last reply Reply Quote 1
                  • B
                    bigtfromaz @MikeV7896
                    last edited by

                    @virgiliomi It's working here too. Thanks for your help!

                    1 Reply Last reply Reply Quote 0
                    • B
                      bigtfromaz @MikeV7896
                      last edited by

                      @virgiliomi PS: "@" is a valid Name for A and AAAA records but I see that Dynamic DNS is calling it invalid. I don't see a good reason to block its use but maybe one exists. Perhaps you can post it as an issue on the GitHub project and see what you hear back.

                      1 Reply Last reply Reply Quote 0
                      • MikeV7896M
                        MikeV7896
                        last edited by

                        I would imagine the reason is because some of the services don't allow you to use @ (especially traditional dynamic DNS services that need a specified hostname, as opposed to actual full DNS services). So their check is for the lowest common denominator. Whether or not they could change the logic to allow it for some services and not others would probably be a more significant effort, especially in the homework to find out whether each service permits the use of @ as a hostname or not. However with more traditional DNS services - Azure, Route 53, and the like - being present in the service list these days, it might be worth it.

                        There is a workaround in creating an actual hostname, then using @ as an alias for that hostname... but kinda annoying. ☺

                        The S in IOT stands for Security

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