Variables in Custom Dynamic DNS urls
-
Is %IP% the only variable or are any of the other fields available as variables for the update URL?
-
I'm sitting here and wonder: what else could you want to tell to your dyndns provider? :o
-
@chemlud:
I'm sitting here and wonder: what else could you want to tell to your dyndns provider? :o
Hostname, domain, user, password…..
-
Go to DYNDNS at GUI and change to "Custom"
Enter username and password in the GUI and enter for "Update URL":
www.spdns.de/nic/update?hostname=<hostname>.spdns.de&myip=%IP%
(…this is for my DYNDNS service... :-D)</hostname>
-
@chemlud:
Go to DYNDNS at GUI and change to "Custom"
Enter username and password in the GUI and enter for "Update URL":
www.spdns.de/nic/update?hostname=<hostname>.spdns.de&myip=%IP%
(…this is for my DYNDNS service... :-D)</hostname>
That's what I'm asking about….
Could those be variables, for exampleexample.com/update?hostname=%HOST%&domain=%DOMAIN%&ip=%IP%&password=%PASSWORD%
so I don't have to hardcode the entire URL and can actually use the fields.
-
I would like to activate this topic again.
Is it possible to use the values entered in "Username" or "Password" as variables in the update URL string?
-
Just wondering if anyone got any answers to this? I’ve been trying to do the same.
-
Same thing. The Custom page collects a username and password but does not send it as auth or provide a variable that I can see anywhere. Seems %IP% is the only one. So, why collect a u/p on this page?
-
Same thing. The Custom page collects a username and password but does not send it as auth or provide a variable that I can see anywhere. Seems %IP% is the only one. So, why collect a u/p on this page?
Just remove - or better - change u/p on that page and see of it still works :D
So, you know now that they are needed, and this transmitted.
To know how and why, checkout the technical from the DyNDNS you are using. If still questions, check out the source used by pfSense.