DynDNS account account changes - PITA
-
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.
-
User from DSLreports remotely connected to my computer and after doing tests with namecheap client and pfsense it turns out there is issue with v2.0.3 of pfsense it would not update. His 2.1 Beta was working fine.
I would upgrade to beta but will wait for the stable since its not a big deal. -
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
-
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?
-
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!
-
I wonder how long until they start ever-so-slightly changing their login form on their site every 28 days or so :-)
-
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.
-
-
"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ā¦
-
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.
-
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. -
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.
-
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.
-
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.
-
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Ā ;)) -
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%
-
This post is deleted! -
This post is deleted!