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

    DynDNS blocked me

    Scheduled Pinned Locked Moved DHCP and DNS
    61 Posts 7 Posters 27.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.
    • S
      sullrich
      last edited by

      Ummmmf.

      That appears to be a regression from moving the cache update block.

      update_file.sh /etc/inc/dyndns.class

      I've made a change to set $wan_Ip

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

        almost there!

        Dec 16 00:10:14 php: : phpDynDNS: (Success) IP Address Changed Successfully! (<my wan="" ip="">)
        Dec 16 00:10:14 php: : phpDynDNS: updating cache file /cf/conf/dyndns.cache:
        Dec 16 00:10:14 php: : DynDns: Current Service: dyndns
        Dec 16 00:10:14 php: : DynDns: DynDns _checkStatus() starting.
        Dec 16 00:10:13 php: : DynDns: DynDns _update() starting.
        Dec 16 00:10:13 php: : DynDns: More than 28 days. Updating.
        Dec 16 00:10:13 php: : DynDns: cacheIP != wan_ip. Updating.
        Dec 16 00:10:13 php: : DynDns: Cached IP:
        Dec 16 00:10:13 php: : DynDns: Current WAN IP: <my wan="" ip="">Dec 16 00:10:13 php: : DynDns: _detectChange() starting.
        Dec 16 00:10:13 php: : DynDns: updatedns() starting
        Dec 16 00:10:13 php: : DynDns: Running updatedns()

        and if I do another release and renew of my wan interface:
        Dec 16 00:11:49 php: : phpDynDNS: (Success) No Change In IP Address
        Dec 16 00:11:49 php: : DynDns: Current Service: dyndns
        Dec 16 00:11:49 php: : DynDns: DynDns _checkStatus() starting.
        Dec 16 00:11:48 php: : DynDns: DynDns _update() starting.
        Dec 16 00:11:48 php: : DynDns: More than 28 days. Updating.
        Dec 16 00:11:48 php: : DynDns: Cached IP: <my wan="" ip="">Dec 16 00:11:48 php: : DynDns: Current WAN IP: <my wan="" ip="">Dec 16 00:11:48 php: : DynDns: _detectChange() starting.
        Dec 16 00:11:48 php: : DynDns: updatedns() starting
        Dec 16 00:11:48 php: : DynDns: Running updatedns()

        seems like cacheIP is OK, but timestamp is still empty. Guess is it the same problem as with the cacheIP variable :P</my></my></my></my>

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

          update_file.sh /etc/inc/dyndns.class

          Thanks for helping debug this!

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

            Yipppeeeee!

            less dyndns.cache

            <my wan="" ip="">:1134688795  (=updated timestamp!)

            logs:

            Dec 16 00:19:55 php: : phpDynDNS: (Success) IP Address Changed Successfully! (<my wan="" ip="">)
            Dec 16 00:19:54 php: : phpDynDNS: updating cache file /cf/conf/dyndns.cache:
            Dec 16 00:19:54 php: : DynDns: Current Service: dyndns
            Dec 16 00:19:54 php: : DynDns: DynDns _checkStatus() starting.
            Dec 16 00:19:53 php: : DynDns: DynDns _update() starting.
            Dec 16 00:19:53 php: : DynDns: cacheIP != wan_ip. Updating.
            Dec 16 00:19:53 php: : DynDns: Cached IP: <bogus cache="" ip="">Dec 16 00:19:53 php: : DynDns: Current WAN IP: <my wan="" ip="">Dec 16 00:19:53 php: : DynDns: _detectChange() starting.
            Dec 16 00:19:53 php: : DynDns: updatedns() starting
            Dec 16 00:19:53 php: : DynDns: Running updatedns()

            No thanks!, just keep up the good work you're doing. If I can be of any help, I'm gladly willing to!
            Goodnight!
            MickeyByte
            :)</my></bogus></my></my>

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

              Checked my logs again this morning (getting paranoid here?), but all was running fine:

              Dec 16 07:04:06 php: : phpDynDNS: No Change In My IP Address and/or 28 Days Has Not Past. Not Updating Dynamic DNS Entry.
              Dec 16 07:04:06 php: : DynDns: Cached IP: <my cached="" wan="" ip="">Dec 16 07:04:06 php: : DynDns: Current WAN IP: <my wan="" ip="">Dec 16 07:04:06 php: : DynDns: _detectChange() starting.
              Dec 16 07:04:06 php: : DynDns: updatedns() starting
              Dec 16 07:04:06 php: : DynDns: Running updatedns()</my></my>

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

                So, the question is, is this fixed on 0.96.4?
                Guess not, right?
                Has a ticket been raised to solve this?
                How can we check in the tickets page if a ticket has been fixed in a new version?
                Sorry but I want to make sure that my dyndns account is not deleted again ;).
                Cheers

                pfSense 2.2.4 running on a HP DL385 G5
                WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

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

                  Yes, the output looks ok, so if you've done this after Scott had updated the files, you'll have the correct versions for dyndns to work smoothly

                  And yes, I'm still running fine with dyndns.

                  I also find it hard to search through the ticket system to find out if something is fixed in a new release
                  It would be nice if there would be a changes.txt file that is updated at each new release stating what has been fixed, updated, added, deleted
                  e.g.

                  0.96.6:

                  • fixed dyndns cachedIP issue
                  • updated Intel NIC drivers to version 999.0.2.99stable
                  • …

                  0.96.4:

                  • ...

                  MickeyByte

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

                    @mickeybyte:

                    It would be nice if there would be a changes.txt file that is updated at each new release stating what has been fixed, updated, added, deleted
                    e.g.

                    0.96.6:

                    • fixed dyndns cachedIP issue
                    • updated Intel NIC drivers to version 999.0.2.99stable
                    • …

                    0.96.4:

                    • ...

                    You bet it would.
                    But since they're working so hard and are such a small team, I wonder if that is not asking too much of them  ::).

                    @mickeybyte:

                    …so if you've done this after Scott had updated the files, you'll have the correct versions for dyndns to work smoothly...

                    Bear with me just this once more mickeybyte…
                    What commands do I have to enter in an SSH session in order that my box doesn't screw up dyndns?
                    I'm sorry that this may look too obvious for you but it ain't for me  :-[.
                    Cheers

                    pfSense 2.2.4 running on a HP DL385 G5
                    WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

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

                      Bear with me just this once more mickeybyte…
                      What commands do I have to enter in an SSH session in order that my box doesn't screw up dyndns?
                      I'm sorry that this may look too obvious for you but it ain't for me.
                      Cheers

                      no problem, that's why we are here for…
                      in a SSH session enter following commands
                      update_file.sh /etc/crontab <enter>update_file.sh /etc/inc/dyndns.class <enter>after that reboot your firewall through the web interface, or by entering following command in the ssh session: shutdown -r now <enter>Greetz,
                      MickeyByte</enter></enter></enter>

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

                        Ok, the same ones that I had already used a couple of days ago.
                        Seems like that way the box will update something through the web, right?
                        Just wanted to make sure that there were no new commands issued here.
                        Hope this gets fixed on newer releases permanently ;)
                        Cheers

                        pfSense 2.2.4 running on a HP DL385 G5
                        WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

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

                          It is fixed on new releases.

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

                            Thanks to both of you, then :).

                            pfSense 2.2.4 running on a HP DL385 G5
                            WAN bce(4) + LAN em(4) + OPTn em(4) with 10 VLANs + Snort + PPTP VPN soon to be trashed by OVPN

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

                              @mickeybyte:

                              Yes, the output looks ok, so if you've done this after Scott had updated the files, you'll have the correct versions for dyndns to work smoothly

                              And yes, I'm still running fine with dyndns.

                              I also find it hard to search through the ticket system to find out if something is fixed in a new release
                              It would be nice if there would be a changes.txt file that is updated at each new release stating what has been fixed, updated, added, deleted
                              e.g.

                              0.96.6:

                              • fixed dyndns cachedIP issue
                              • updated Intel NIC drivers to version 999.0.2.99stable
                              • …

                              0.96.4:

                              • ...

                              MickeyByte

                              The discriptions are so vague I find it impossible to spend so long looking through so many entries to see if something is fixed.
                              Would be nice for at least the major fixes to be mentioned to stop a few of the questions poping up.

                              Someone that can understand the CVS could volenteer to make a changes post? :)  Doesn't have to be the devs

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

                                @Jesse7:

                                The discriptions are so vague I find it impossible to spend so long looking through so many entries to see if something is fixed.
                                Would be nice for at least the major fixes to be mentioned to stop a few of the questions poping up.
                                Someone that can understand the CVS could volenteer to make a changes post? :)  Doesn't have to be the devs

                                This will change once we release.  Right now we do not have the resources to document every change seperately.

                                Sorry!

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

                                  Kind of started to think about the cachedIP thing used in dyndns (yes, it's me again ;D)

                                  Just making a change request, don't know if that's the right place…
                                  What if you checked the current WAN IP against the current IP in the DynDNS service in stead of keeping a cachedIP at the firewall?
                                  Started thinking about this when I manually changed my dyndns IP using the website of dyndns.org to check if it would update, but it didn't because the CachedIP in the firewall was still the same as current WAN IP.
                                  Don't know if those situatiions happen frequently, but it could!

                                  Greetz,
                                  MickeyByte

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

                                    Hi,

                                    You probably won't believe it, but I just got mail from DynDNS telling me my hostname is about to expire in 5 days!
                                    In the system logs it nicely says each hour: IP not changed and 28 days not passed, so not updating.
                                    Had to clean my dyndns.cache file to make it update!

                                    Something wit the timestamp in the file? of the script?

                                    M.

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

                                      It expires in 30 days?  So that would be 25 days?  So it hasn't quite hit 28 days?

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

                                        Well, better make it less than 25 days then in stead of 28, because getting an e-mail that it will expire is not really the type of e-mails I want to get.
                                        One thing for sure, it'll take another month to know if it would really update at the 28th day, cause I've forced it right now :-)

                                        M.

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

                                          I got blocked to. I'm running beta2 and followed the instructions but it says command not found. Do you have that script available for download?

                                          Thanks,
                                          Tom

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

                                            These problems have been solved for a long time.  Are you sure that you are not running multiple clients?

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