rejetto forum
Software => HFS ~ HTTP File Server => Bug reports => Topic started by: chaoshaowei on May 26, 2020, 01:38:50 PM
-
Hi, I'm new to here.
I wanted to update my IP to a domain I own under Google Domain. The URL for updating is:
https:// user:pass@domains.google.com/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4
Because Google doesn't accept HTTP connections, so I can't just take away https:// and update.
Is there a way to update DNS? Or is there a way to redirect http to https?
Please let me know!!
-
welcome to the forum!
sorry but https is not supported yet,
you'll have to use a different tool.
Or if you are a php programmer you may easily put a single line script on some server of yours that respond to simple http, proxying to google.
-
thanks for letting me know of this feature from google, anyway.
now i'm using it through the updater in my modem. :)
-
it seems possible to use a powershell script to perform this dns update
https://port1433.com/2017/02/20/updating-google-domains-dynamic-dns-with-powershell/
-
thanks mars! maybe someone will be able to make a small plugin for easier integration on hfs
-
Hi Rejetto!
I think it's easier to add https support: https://github.com/drapid/HFS/blob/55d2bb27b06d7e5fa832ec397b63f8761edb5888/utillib.pas#L1806
Of course you need to copy openssl libs to use it...
-
cool, thanks, i suspected that and it may be in time for 2.4
i'll give a look asap