Posted: Thu Dec 25, 2014 3:30 Post subject: Google DDNS requiring HTTPS
Hi,
I don't think too many people have access to Google's Domain since it's invite only. But I've been trying to setup DDNS with a subdomain that I own so I can use my home network as a VPN.
I've set up my custom DDNS as follows (obviously some information redacted)
DDNS Service: Custom
DYNDNS Server: domain.google.com
Username: [redacted]
Password: [redacted]
hostname: myvpn.mydomain.com [I've changed it, but it's correct on my router]
URL: /nic/update?
Additional DDNS Options: --protocol https
I'm using a Netgear R7000 running DD-WRT v24-sp2 (10/08/14) kongac (SVN revision 25100M).
The problem I have is that DDNS page is stuck at "Connecting to server". I am thinking that it's because --protocol https is not forcing https, which Google requires. Actually I'm not even sure --protocol https is right. Anyone has any experience on how to enable HTTPS for DDNS?
@slobodan, Thanks, I was already thinking of writing a small script to just manually scrape the correct url every 10 days or so, but the version of wget in busybox included in dd-wrt doesn't support https form what I have read. I'm thinking about enabling opt-ware at this point and getting a https enabled version of wget on there. I could attach a very small USB key to my R7000 if it doesn't have enough disk space.
See in my view, getting DDNS to work out of the box would have been the easiest way, but since that's not possible, I'm moving on to a script.
And if that doesn't work I guess I can always try to use the newest version of inadyn (1.99) which does supposedly support https as opt-ware? Maybe I'll try this first as the latest code at:
@slobodan, Thanks, I was already thinking of writing a small script to just manually scrape the correct url every 10 days or so, but the version of wget in busybox included in dd-wrt doesn't support https form what I have read. I'm thinking about enabling opt-ware at this point and getting a https enabled version of wget on there. I could attach a very small USB key to my R7000 if it doesn't have enough disk space.
See in my view, getting DDNS to work out of the box would have been the easiest way, but since that's not possible, I'm moving on to a script.
And if that doesn't work I guess I can always try to use the newest version of inadyn (1.99) which does supposedly support https as opt-ware? Maybe I'll try this first as the latest code at:
@slobodan, Thanks, I was already thinking of writing a small script to just manually scrape the correct url every 10 days or so, but the version of wget in busybox included in dd-wrt doesn't support https form what I have read. I'm thinking about enabling opt-ware at this point and getting a https enabled version of wget on there. I could attach a very small USB key to my R7000 if it doesn't have enough disk space.
See in my view, getting DDNS to work out of the box would have been the easiest way, but since that's not possible, I'm moving on to a script.
And if that doesn't work I guess I can always try to use the newest version of inadyn (1.99) which does supposedly support https as opt-ware? Maybe I'll try this first as the latest code at:
A bit of a hack but I threw together a little Go app that runs on App Engine. It can be called by the DDWRT DDNS client via HTTP and forwards the request on to the Google Domains API: https://github.com/edalquist/GDDNS