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

    DynDNS account account changes - PITA

    Scheduled Pinned Locked Moved DHCP and DNS
    24 Posts 17 Posters 10.7k 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.
    • A
      atomicrabbit
      last edited by

      hey guys, I made this vbscript to automatically log into your free DynDNS account once a month. Just set up a Windows Scheduled Task for once every month (or maybe 25 days just in case) and point the task to this file:

      http://pastebin.com/pJggXjMH

      1 Reply Last reply Reply Quote 0
      • J
        JohnnyBeGood
        last edited by

        @atomicrabbit:

        hey guys, I made this vbscript to automatically log into your free DynDNS account once a month. Just set up a Windows Scheduled Task for once every month (or maybe 25 days just in case) and point the task to this file:

        http://pastebin.com/pJggXjMH

        Thanks for sharing!

        I never dealt with VB other then little bit in excel. Is there any tutorial how to set this up?

        I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

        1 Reply Last reply Reply Quote 0
        • T
          traxxus
          last edited by

          @atomicrabbit:

          hey guys, I made this vbscript to automatically log into your free DynDNS account once a month. Just set up a Windows Scheduled Task for once every month (or maybe 25 days just in case) and point the task to this file:

          http://pastebin.com/pJggXjMH

          Thank you very much!

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I wonder how long until they start ever-so-slightly changing their login form on their site every 28 days or so :-)

            Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • R
              routerfreak
              last edited by

              Just found this nice guy who wrote a little bash script to automate the login procedure to DynDNS:

              http://emanuelduss.ch/2013/05/zwingender-monatlicher-login-bei-dyndns-org-automatisieren/

              Site is in swiss german, but his actual versions of the script you can find here:

              https://raw.github.com/mindfuckup/Scripts/master/dyndnslogin

              The question is: How can we adopt this in pfsense (full/embedded versions)? I think we only need the curl package, the mktemp can be replaced by fixed temporary names. My first hint for the embedded install would be:

              • Remount the Filesystem RW: mount -o rw -u /

              • Edit /etc/platform, change nanobsd to pfSense

              • Install needed packages: /usr/sbin/pkg_add -r curl

              • Edit /etc/platform, change pfSense to nanobsd

              • reboot

              • hope everything still works.

              Router Hardware: Supermicro A1SRi-2758F, 2x Kingston KVR16LSE11-4KF (4GB DDR3L SODIMM-1600 ECC),
              Router OS: pfSense-2.4.3-RELEASE, Packages: Cron 0.3.7_2, Open-VM-Tools 10.1.0, siproxd 1.1.3_3

              1 Reply Last reply Reply Quote 0
              • K
                kejianshi
                last edited by

                "I wonder how long until they start ever-so-slightly changing their login form on their site every 28 days or so :-)"

                That would suck for alot of people…

                1 Reply Last reply Reply Quote 0
                • provelsP
                  provels
                  last edited by

                  Yes, a PITA.Ā  I got a message that I would need to login last month, did so, but the IP was correct (and OK in pf) so I let it go.Ā  Host not found this AM…  Not really understanding their reasoning, since obsolete free hosts would expire and be deleted anyway, but I guess whatever it takes to pry that 10 bucks out of you.

                  Tried the VBS but fails for me on line 66 [ if reMatches(0) is nothing then ].Ā  Not really a programmer here, so moderately lost… But I appreciate the effort.

                  Peder

                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                  1 Reply Last reply Reply Quote 0
                  • K
                    kejianshi
                    last edited by

                    One easy fix is just run the official dyndns client on a windows machine preferably but a MAC or Linux machine also works.
                    I only bother putting dyndns settings into pfsense when its the only thing running on that IP.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kathampy
                      last edited by

                      Their current emails just have a direct link to verify your account. Don't need to login at all. It's especially useful if you have multiple accounts too since you just click the link in each email.

                      1 Reply Last reply Reply Quote 0
                      • provelsP
                        provels
                        last edited by

                        @kejianshi:

                        One easy fix is just run the official dyndns client on a windows machine preferably but a MAC or Linux machine also works.
                        I only bother putting dyndns settings into pfsense when its the only thing running on that IP.

                        Will it work?Ā  My understanding is that they are requiring an actual login to their site, not just an IP update action.Ā  PF is already doing that for me successfully.

                        Peder

                        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by

                          I haven't logged into the DynDNS site in forever.Ā  I have the DynDNS client running in the one windows vm that I keep online.Ā  (At three sites actually)
                          Its not given me any problems so far…

                          At other places I only have the pfsense client running with no issue, but thoseĀ  have paid DNS accounts.Ā  I dare them to cut me off.Ā  I'll drop them like a hot rock if they ever do.

                          1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan
                            last edited by

                            For those who have a dedicated server on the net (with named/bind as master DNS): don't forget about this Sticky topic.
                            With a snap (well, a SNAP) you turn your server in a 'dyndns' look-a-like - and it won't turn its back on you …. (because you are the adminĀ  ;))

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

                            1 Reply Last reply Reply Quote 0
                            • S
                              silvertip257
                              last edited by

                              @razblack:

                              hello,

                              i have been using dnsdynamic.org lately, but you have to create a custom service in pfsense as it is not listed.

                              i would tell you how to do this, but i can't figure it out yet.

                              https://www.dnsdynamic.org/api.php

                              they do have an API.. i tried using a simple URL (example they show)

                              https://username:password@www.dnsdynamic.org/api/?hostname=techno.ns360.info&myip=127.0.0.1

                              but since the username is an email account, pfsense throws this in the logs:

                              php: /services_dyndns_edit.php: Curl error occurred: Couldn't resolve host 'myemail.com:password@www.dnsdynamic.org'

                              i'm guessing when using a username of 'username@email.com' the @ it is breaking things.

                              I have a solution for those looking to update a DNS Dynamic hostname via pfSense.

                              Choose Custom from the Service Type drop down and set a proper Update URL.
                              See the code block below for example URL syntax.

                              The key is to HTML URL encode the at symbol in the URL.Ā  The @ symbol is %40 when encoded.

                              
                              https://username%40domain.com:password@www.dnsdynamic.org/api/?hostname=myhostname.mydomain.org&myip=%IP%
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                Marina11
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • C
                                  CharlesWalker
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    FarisAhmed12
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      Finley Martin
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        ellyjen12
                                        last edited by ellyjen12

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