Google DDNS requiring HTTPS

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
misosoup7
DD-WRT Novice


Joined: 24 Dec 2014
Posts: 18

PostPosted: Thu Dec 25, 2014 3:30    Post subject: Google DDNS requiring HTTPS Reply with quote
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.

The example way to update the IP is:
https://username:password@domains.google.com/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4

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?

Thanks,
Misosoup7
Sponsor
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Thu Dec 25, 2014 12:51    Post subject: Reply with quote
inadyn 1.96 doesn't support HTTPS only HTTP:(
misosoup7
DD-WRT Novice


Joined: 24 Dec 2014
Posts: 18

PostPosted: Thu Jan 01, 2015 22:59    Post subject: Reply with quote
Thanks for the response. Anyone know if there are plans to support https in the future?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Jan 02, 2015 1:34    Post subject: Reply with quote
misosoup7 wrote:
Thanks for the response. Anyone know if there are plans to support https in the future?


No, there are no such plans at the moment.

_________________
Kernel panic: Aiee, killing interrupt handler!
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Sun Jan 04, 2015 1:46    Post subject: Reply with quote
Try URL: https://domains.google.com/nic/update?hostname=
_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


misosoup7
DD-WRT Novice


Joined: 24 Dec 2014
Posts: 18

PostPosted: Mon Jan 05, 2015 19:11    Post subject: Reply with quote
@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. Smile

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:
Code:
https://github.com/troglobit/inadyn
supports Google DDNS out of the box.
misosoup7
DD-WRT Novice


Joined: 24 Dec 2014
Posts: 18

PostPosted: Mon Jan 05, 2015 19:11    Post subject: Reply with quote
@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. Smile

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:
Code:
https://github.com/troglobit/inadyn
supports Google DDNS out of the box.
menel
DD-WRT Novice


Joined: 21 Jan 2015
Posts: 1

PostPosted: Wed Jan 21, 2015 16:34    Post subject: Reply with quote
misosoup7 wrote:
@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. Smile

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:
Code:
https://github.com/troglobit/inadyn
supports Google DDNS out of the box.

Did you have any success?
edalquist
DD-WRT Novice


Joined: 01 Feb 2007
Posts: 6

PostPosted: Tue Feb 17, 2015 4:53    Post subject: Reply with quote
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum