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

Exporting Duck DNS Client

OpenVPN
5
13
1.4k
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.
  • K
    Kevin 4
    last edited by Mar 13, 2023, 3:17 PM

    When I set up Duck DNS as a VPN ddns service, the Host Name on the Dynamic DNS Client is blank. Having a blank Host Name prevents me from exporting the Client Config file. I can see the Custom DNS Client in the export list as a blank spot with a check mark, but each time I select it, the client export configuration tool doesn't recognize that anything has been selected for export.
    I'm using the No-IP service, but I would prefer the Duck service as there is no need for monthly email confirmation.

    G 1 Reply Last reply Mar 14, 2023, 8:20 AM Reply Quote 0
    • G
      Gertjan @Kevin 4
      last edited by Gertjan Mar 14, 2023, 8:21 AM Mar 14, 2023, 8:20 AM

      @kevin-4

      Can't see what you mean ....

      login-to-view

      "245809" is my HE.net Tunnelbroker Dynamic DNS Client host ID, and has nothing to do with 'dyndns', and I have a RFC2136 home.xxxxxxxxx.fr as a host name for my WAN IPv4, and that's the one I use for my OpenVPN client config files.

      A bank spot or question mark can't be a valid host name for a client VPN config, as something like '?" isn't a host name. So your VPN client won't know where to connect.

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

      K 1 Reply Last reply Mar 14, 2023, 3:01 PM Reply Quote 0
      • K
        Kevin 4 @Gertjan
        last edited by Mar 14, 2023, 3:01 PM

        @gertjan
        I'm referring to when I'm setting up the Dynamic DNS client for the OpenVPN and when I'm trying to export the DNS Client in the OpenVPN export Utility.
        login-to-view
        login-to-view

        G 1 Reply Last reply Mar 14, 2023, 5:05 PM Reply Quote 0
        • G
          Gertjan @Kevin 4
          last edited by Mar 14, 2023, 5:05 PM

          @kevin-4

          Yep, that's strange.

          Normally, what you've set here :

          login-to-view

          should be shown on the list with available WAN host names under the VPN =>Host Name Resolution

          The same thing goes for the RC2136 - and that's the one I'm using :

          login-to-view

          Check your dyndns settings - the host name part.

          It should look like this :

          login-to-view

          More info here : OpenVPN Client Export Package

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

          K 1 Reply Last reply Mar 14, 2023, 7:01 PM Reply Quote 0
          • K
            Kevin 4 @Gertjan
            last edited by Mar 14, 2023, 7:01 PM

            @gertjan
            For Duck DNS I'm using Custom, since it isn't in the list. I'm following a Duck DNS process used in pfSense through a YouTube channel, wundertech. Just wondered if anyone else got it working...

            G 1 Reply Last reply Mar 15, 2023, 7:30 AM Reply Quote 0
            • G
              Gertjan @Kevin 4
              last edited by Mar 15, 2023, 7:30 AM

              @kevin-4 said in Exporting Duck DNS Client:

              For Duck DNS I'm using Custom

              Aha.

              No 'host name' field in that custom setup.
              Ok, there is :

              login-to-view

              but the OpenVPN client export can't access that one.
              The host name also exist in your head : that's not accessible neither for the OpenVPN export package ;)

              Use the 'Other' and specify the host name manually :

              login-to-view

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

              K 1 Reply Last reply Mar 15, 2023, 3:58 PM Reply Quote 0
              • K
                Kevin 4 @Gertjan
                last edited by Mar 15, 2023, 3:58 PM

                @gertjan
                I appreciate the advice, I hadn't tried that. Unfortunately, it didn't work either.
                login-to-view

                V 1 Reply Last reply Mar 15, 2023, 4:12 PM Reply Quote 0
                • V
                  viragomann @Kevin 4
                  last edited by Mar 15, 2023, 4:12 PM

                  @kevin-4
                  This is an URL, not a host name.
                  Remove the part on front of "www." and the final slash and it should be accepted.

                  K 1 Reply Last reply Mar 15, 2023, 5:09 PM Reply Quote 0
                  • K
                    Kevin 4 @viragomann
                    last edited by Mar 15, 2023, 5:09 PM

                    @viragomann
                    Yep, that did it. Thank you!

                    1 Reply Last reply Reply Quote 0
                    • B
                      bdr
                      last edited by bdr Jun 1, 2024, 8:16 PM Jun 1, 2024, 8:14 PM

                      I'm using DuckDNS and I ran into the same issue as the OP. When using "Custom" for Dynamic DNS Service Type, there is nowhere to manually enter the hostname. (The hostname is just part of the Update URL string.) As a result, you get what you see here:

                      login-to-view

                      After setting up OpenVPN server and configuring users/certificates, on the Client Export Utility page the Host Name Resolution drop-down populates with the Dynamic DNS hostname..... which in this case is just blank:

                      login-to-view

                      As a workaround, I selected "Other" on this page and manually entered my DuckDNS hostname and successfully exported client configurations. Clients can connect to the OpenVPN and everything works perfectly.

                      However, my question is if there are any ramifications or (currently) unseen consequences to this? If something changes with my Dynamic DNS configuration, I suppose I would need to manually make changes in the Client Export Utility? Anything else this might affect?

                      FWIW, this "blank" hostname has been an issue since at least 2015. Any plans to fix/change this?

                      A V 2 Replies Last reply Jun 1, 2024, 8:22 PM Reply Quote 0
                      • A
                        Antibiotic @bdr
                        last edited by Jun 1, 2024, 8:22 PM

                        @bdr Is it beta dark theme?

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

                        B 1 Reply Last reply Jun 2, 2024, 2:54 PM Reply Quote 0
                        • V
                          viragomann @bdr
                          last edited by Jun 2, 2024, 9:55 AM

                          @bdr said in Exporting Duck DNS Client:

                          However, my question is if there are any ramifications or (currently) unseen consequences to this? If something changes with my Dynamic DNS configuration, I suppose I would need to manually make changes in the Client Export Utility? Anything else this might affect?

                          No, the host name is static. Hence as long as it is linked to your public WAN IP, there is nothing to change.

                          Note that host name in the client export utility is used to generate the proper remote line in the client config file. So changes there make only sense if you export the client config and install it on the client again.

                          1 Reply Last reply Reply Quote 1
                          • B
                            bdr @Antibiotic
                            last edited by Jun 2, 2024, 2:54 PM

                            @Antibiotic Oh, haha.... No, it's actually the "Compact-RED" theme, but with the Dark Reader browser extension enabled.

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