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

Dynamic DNS & Namecheap

DHCP and DNS
17
40
20.3k
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.
  • T
    thearamadon @SteveITS
    last edited by Dec 8, 2022, 1:17 AM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • T
      thearamadon @SteveITS
      last edited by Dec 8, 2022, 1:18 AM

      @steveits said in Dynamic DNS & Namecheap:

      @zoltrix said in Dynamic DNS & Namecheap:

      logs show the "/services_dyndns_edit.php: phpDynDNS (XXX): (Unknown Response)" error.

      https://redmine.pfsense.org/issues/12816

      There is a patch in the new System Patches 2.0 package. (recommended patches are now listed in it)

      I do not get the unknown response error when clicking Save and Force Update. I get "(Success) IP Address Updated Successfully!" but 2-3 minutes later the page times out and it logs a " *406 upstream timed out (60: Operation timed out) while reading response header from upstream" error.

      This patch doesn't work anymore, but there's an updated one that works here:

      https://github.com/pfsense/pfsense/commit/70db168b7f7eb4d4e702f965aa4956e93340575f?diff=unified

      C 1 Reply Last reply Jan 20, 2023, 11:00 PM Reply Quote 5
      • C
        Cloudless Smart Home @thearamadon
        last edited by Jan 20, 2023, 11:00 PM

        @thearamadon thanks, worked perfect!

        1 Reply Last reply Reply Quote 2
        • M
          mooky1977 @SteveITS
          last edited by Jan 29, 2023, 12:50 AM

          @steveits Can confirm, this fix works for me on pfSense Plus 22.05 to fix my namecheap dynDNS problem.

          System Patches ID: 70db168b7f7eb4d4e702f965aa4956e93340575f

          Thanks!

          Z 1 Reply Last reply Jan 29, 2023, 7:30 AM Reply Quote 1
          • Z
            Zoltrix @mooky1977
            last edited by Jan 29, 2023, 7:30 AM

            @mooky1977 cool, let's hope it gets rolled into the next pfsense release.

            C 1 Reply Last reply Jan 29, 2023, 7:38 AM Reply Quote 0
            • C
              Cloudless Smart Home @Zoltrix
              last edited by Cloudless Smart Home Jan 29, 2023, 7:39 AM Jan 29, 2023, 7:38 AM

              @zoltrix I can guarantee it... https://docs.netgate.com/pfsense/en/latest/releases/23-01.html

              Z 1 Reply Last reply Jan 29, 2023, 7:46 AM Reply Quote 2
              • Z
                Zoltrix @Cloudless Smart Home
                last edited by Jan 29, 2023, 7:46 AM

                @appleguy awesome!

                I guess the original comments by @Gertjan and @johnpoz were off the mark.

                1 Reply Last reply Reply Quote 0
                • G
                  Gertjan
                  last edited by Jan 30, 2023, 8:20 AM

                  @zoltrix said in Dynamic DNS & Namecheap:

                  off the mark

                  My point of view :
                  2020 : namecheap changed the text value when an IP was updated.
                  Like "IP was accepted" to "IP was changed".
                  On the pfSense side, the "IP was changed" didn't match as an "Ok" result, so, to be safe, it was treated as an no-ok resulat, the GUI showed a red IP message.
                  But : surprise : the IP was updated on the namecheap side.
                  Then, several month later, the returned text values changed again.
                  To make dyndns namedcheap work again, code had to change again on the pfSense side.
                  This is just what I could call "development", not really a bug. The results is always : it doesn't work anymore for the end user.
                  This year, the same thing happened.
                  A pfSense bug ? Noop, namecheap changed the returned text value again.
                  Like (example) "From "Ok" to "OK".

                  Now I have my ideas why they do this.

                  What I don't get is : no messages on whatever media to explain that something has changed.
                  And because we are all curious, and some of us even want to learn and understand why things have changed.
                  But nothing.
                  Just a confirmation on the namecheap forums, months later : "yep, something changed".

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

                  R 1 Reply Last reply Feb 9, 2023, 5:04 PM Reply Quote 1
                  • R
                    renarde3 @Gertjan
                    last edited by Feb 9, 2023, 5:04 PM

                    Hi @jimp, @johnpoz, @gertjan, thanks for all of your hard work on pfSense! I shudder to think what my world would be like without it.

                    Question for those of you who use Namecheap for DDNS. Is it possible to use Namecheap Web hosting DNS (aka cPanel) with pfSense DDNS? Or will I need to move my DNS records to Namecheap's BasicDNS to set things up using the instructions @jimp has given above (I suspect the answer is "yes")?

                    Having created DDNS records in the Namecheap Web hosting DNS's cPanel UI, the records created provide a URL to use for DDNS, not a password. Without passwords it seems I'm at an impasse.

                    @jamesg246 refers to a "namecheap http update method" in this thread. I suspect I could use this with the cPanel DDNS. Could someone point me at directions for how to set this up?

                    Or feel free to tell me I'm trying to do the impossible (or silly) and would be wise to take the time and move my DNS records from cPanel to their Basic DNS.

                    Thanks!

                    C 1 Reply Last reply Feb 9, 2023, 5:12 PM Reply Quote 0
                    • C
                      Cloudless Smart Home @renarde3
                      last edited by Cloudless Smart Home Feb 9, 2023, 5:18 PM Feb 9, 2023, 5:12 PM

                      @renarde3 I just have regular namecheap domain hosting. click on manage, then the advanced dns tab.

                      https://www.namecheap.com/support/knowledgebase/article.aspx/36/11/how-do-i-start-using-dynamic-dns/

                      using pfsense+ 22.05, I used the patch refrenced above, but installed 23.01-RC yesterday and removed that and one other patch. all working great!

                      1 Reply Last reply Reply Quote 0
                      • R
                        renarde3
                        last edited by renarde3 Feb 9, 2023, 5:34 PM Feb 9, 2023, 5:30 PM

                        Hi @cloudless-smart-home, thanks for your quick response.

                        I've successfully set up the DDNS records in the Namecheap Webhosting (aka cPanel) UI, but have not been able to figure out how to use the URLs it generates to communicate with the DDNS clients I have set up in pfSense. That's where I'm getting stuck.

                        From this image in the Namecheap Domain List, I suspect I need to switch to their BasicDNS (Webhosting DNS) to make this work. I was hoping to get confirmation before I have to recreate my DNS entries.
                        login-to-view

                        C 1 Reply Last reply Feb 9, 2023, 5:37 PM Reply Quote 0
                        • C
                          Cloudless Smart Home @renarde3
                          last edited by Cloudless Smart Home Feb 9, 2023, 5:47 PM Feb 9, 2023, 5:37 PM

                          @renarde3
                          https://www.namecheap.com/support/knowledgebase/article.aspx/36/11/how-do-i-start-using-dynamic-dns/

                          will walk you through the process. look at the other links on that page too if it's not clear.

                          https://www.namecheap.com/support/knowledgebase/article.aspx/595/11/how-do-i-enable-dynamic-dns-for-a-domain/

                          R 1 Reply Last reply Feb 9, 2023, 11:33 PM Reply Quote 0
                          • R
                            renarde3 @Cloudless Smart Home
                            last edited by Feb 9, 2023, 11:33 PM

                            Hi @cloudless-smart-home, thanks again for the links.

                            I changed the Namecheap DNS I was using from Webhosting to BasicDNS. Then I was able to follow @jimp's instructions as posted above.

                            It was a pain having to move all of my DNS entries from cPanel to their BasicDNS (the Advanced DNS UI for entering records is klunky) but at least it's done now, and the DDNS entries are correctly pulling the WAN IP from the pfSense gateway.

                            Thanks!

                            1 Reply Last reply Reply Quote 1
                            • B
                              Billy_C
                              last edited by Billy_C Feb 16, 2024, 3:37 AM Feb 16, 2024, 3:37 AM

                              Wanted to update for 2024. I'm moving over from a google domain (using DDNS and PFsense) because they moving all domains to square space. Square space doesn't have DDNS from what I can tell. I transferred my domain to Namecheap. Flowed instructions by @jimp for the most part except added multiple hosts for different locations and services (OpenVPN, Nextcloud... other stuff).


                              If transferring from google to namecheap:
                              No special account required

                              • Navigate to Domain List -> your.domain -> Manage -> Domain
                              • Next to NAMESERVERS change from "custom DNS" to "namecheap Basic DNS"

                              In Namecheap enable Dynamic DNS for your domain:

                              • Navigate to Domain List -> your.domain -> Manage -> Advanced DNS
                              • Next to Dynamic DNS, change the slider to enabled
                              • Copy the random password for later
                              • Under Dynamic DNS, click the plus to add
                                • Type = "A + Dynamic DNS Record"
                                • Host = "yourhost"
                                • Value = "127.0.0.0" (can be anything really, this will update)
                                • TTL = "Automatic"

                              On pfSense:

                              • Navigate to Services -> Dynamic DNS
                              • + Add
                                • Service Type = "Namecheap"
                                • Hostname = "yourhost" "your.domain" (respectively in the two boxes)
                                • Username = (leave blank)
                                • Password = random password copied from Namecheap Dynamic DNS section
                              • "Save and force" should update the the IP listed under the value on the Namecheap record after a refresh (from 127.0.0.0 to your public IP)
                              1 Reply Last reply Reply Quote 0
                              • Sergei_ShablovskyS
                                Sergei_Shablovsky
                                last edited by Feb 18, 2024, 3:05 AM

                                Not directly linked to NameCheap, but may be useful for most users here:

                                Dynamic DNS with Cloudflare DNS

                                —
                                CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                Help Ukraine to resist, save civilians people’s lives !
                                (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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