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

Host Name Resolution via Dynamic DNS Clients

Scheduled Pinned Locked Moved OpenVPN
12 Posts 3 Posters 1.5k 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.
  • C
    CloudNode
    last edited by Aug 15, 2021, 1:53 AM

    Just wondering if i am missing something; i currently have my openvpn host name resolution set to to "other" and then i point to vpn.xxx.ca (my domain) via cloudflare (grey cloud).

    Since i am already using Dynamic DNS Clients via cloudflare to get my wan ip and to keep in sync, cant openVPN just use the Dynamic DNS Clients via pfsense it self instead of my selecting other? This way i can keep my vpn.xxx.ca proxied (non grey cloud)

    C 1 Reply Last reply Aug 17, 2021, 3:32 PM Reply Quote 0
    • C
      CloudNode @CloudNode
      last edited by Aug 17, 2021, 3:32 PM

      @iptvcld any advise on this one?

      V 1 Reply Last reply Aug 17, 2021, 4:54 PM Reply Quote 0
      • V
        viragomann @CloudNode
        last edited by Aug 17, 2021, 4:54 PM

        @iptvcld
        Not clear at all, what exactly you're complaining here.

        i currently have my openvpn host name resolution set to to "other" and then i point to vpn.xxx.ca (my domain) via cloudflare (grey cloud).

        Are you talking about the client export tool?

        C 1 Reply Last reply Aug 17, 2021, 4:58 PM Reply Quote 0
        • C
          CloudNode @viragomann
          last edited by Aug 17, 2021, 4:58 PM

          @viragomann Not complaining; just inquiring on a open public support forum..

          Under the OpenVPN export tool under Host Name Resolution there are sine options to select. I currently have DDNS set for pfsense via Cloudflare and want to know if under the vpn export tool, i can select that ddns instead of selecting other and then keying in my cname address from CF which exposes my wan IP

          V 1 Reply Last reply Aug 17, 2021, 5:07 PM Reply Quote 0
          • V
            viragomann @CloudNode
            last edited by Aug 17, 2021, 5:07 PM

            @iptvcld
            Basically yes. If you have set up dynamic DNS clients on pfSense the host names should appear in the Host Name Resolution drop-town. Don't yours?

            C 1 Reply Last reply Aug 17, 2021, 6:31 PM Reply Quote 0
            • C
              CloudNode @viragomann
              last edited by Aug 17, 2021, 6:31 PM

              @viragomann I can see it but it shows up as @.test.ca and when i select that and select to export my vpn config file i get an error saying
              The following input errors were detected:

              An IP address or hostname must be specified.
              Failed to export config files!

              V 1 Reply Last reply Aug 17, 2021, 7:56 PM Reply Quote 0
              • V
                viragomann @CloudNode
                last edited by Aug 17, 2021, 7:56 PM

                @iptvcld said in Host Name Resolution via Dynamic DNS Clients:

                I can see it but it shows up as @.test.ca

                With an @ in front?? That indicates a wildcard domain name, so that cannot work of course.

                I don't know, how your Cloudflare dynamic DNS client works, but I have set up four distinct FQDNs as hostnames in Services > Dynamic DNS and each of them can be selected in the client export utility and is written in the remote line of the .ovpn file, when I export it.

                If you don't have an unique hostname you can only select other in the client export and enter your FQDN to be added to the config.
                But you have the option to save the stated settings as default values, so that you haven't to enter the FQDN each time you export client settings.

                C 2 Replies Last reply Aug 17, 2021, 8:49 PM Reply Quote 0
                • C
                  CloudNode @viragomann
                  last edited by Aug 17, 2021, 8:49 PM

                  @viragomann on CF i have a A record of test.ca (as my domain name) - should i be configuring DDNS in pfsense as something else? I am doing @ then .test.ca and it picks up my wan IP

                  1 Reply Last reply Reply Quote 0
                  • C
                    CloudNode @viragomann
                    last edited by Aug 18, 2021, 2:04 AM

                    @viragomann Do you have multiple A records in this case?

                    B V 2 Replies Last reply Aug 18, 2021, 6:56 AM Reply Quote 0
                    • B
                      Bob.Dig LAYER 8 @CloudNode
                      last edited by Aug 18, 2021, 6:56 AM

                      @iptvcld You probably did something wrong with your DDNS Client in pfSense...

                      1 Reply Last reply Reply Quote 0
                      • V
                        viragomann @CloudNode
                        last edited by Aug 18, 2021, 10:13 AM

                        @iptvcld
                        Yes, multiple A-records and multiple dynDNS providers.
                        For each hostname I've set up a client in Services > Dynamic DNS > Dynamic DNS Clients.

                        C 1 Reply Last reply Aug 18, 2021, 1:19 PM Reply Quote 0
                        • C
                          CloudNode @viragomann
                          last edited by Aug 18, 2021, 1:19 PM

                          @viragomann I guess my question was how can we setup a ddns without exposing the real wan ISP IP. But i dont think that is possible as the vpn profile file will need a remote url that points to your wan ip

                          1 Reply Last reply Reply Quote 0
                          12 out of 12
                          • First post
                            12/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received