On 2016-12-03 09:27, Per Jessen wrote:
Carlos E. R. wrote:
The instructions say that the updates are done by browsing to this address:
http://userid:password@dyn.dns24.ch/update? hostname=hostname&type=type&data=data
It is a long line. The userid is my email address, so it contains an "@" symbol. There is another "@" after the password. Can that work? :-?
In the username, you might need to encode the '@' as %40 I believe. It depends on the client you're using. In my elderly Firefox, I didn't need to, but Firefox popped up a window saying "you're about to log in with userid so-and-so". Then I created an AAAA record with this:
http://dyn.dns24.ch/update?hostname=berlusconi.dyndns24.ch&type=AAAA&data=client
If you don't specify your userid+password, Firefox will ask for them.
Yes, it did that once.
You can also do the update with https://
Ah, yes, I forgot that one. [...] Fails: "Unable to locally verify the issuer's authority" (and does nothing). I Need to download and install the certificate somewhere.
Well, it works in firefox, after several trials, but not with wget, says "bad port number".
wget works too, but as you're running it from the command-line, don't forget appropriate quoting and/or escaping. The ampersands typically need escaping - or just put the whole URL in quotes.
Guided by that one, the equivalent for wget is:
wget --user=... --password=.... wget "http://dyn.dns24.ch/update?....."
Yes, something like that will also work.
I could not make it work otherwise.
There's no real magic in the URL, it's just a URL with authentication.
"Just", LOL. To me it is magic :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)