PFsense custom query PFsense custom query

Argomento: PFsense custom query

Post PFsense custom query
di chrisdj su giovedì 5 maggio 2022

Hi,

I am trying to update my custom query for my PFsense router, however I am getting an unknown return when I POST this from firefox. My string is:

http://api.dynu.com/nic/update?hostname=farmview.ddnsfree.com&password=PASSWORD.

Of course I have replaced PASSWORD with my Dynu login password, but the string still doesnt seem to work. I am not getting good|nochg|good %IP%
as a return string, only unknown. This seems to be an authentication issue? What am I doing wrong. The router works with another provider, but they dont give wildcard access, which is why I am trying Dynu.

Thanks
Chris

Rispondi con citazione | Segnalare
Post Re: PFsense custom query
di timothytw su domenica 8 maggio 2022

Try MD5 hash of the password or set up an IP update password without special characters.

Rispondi con citazione | Segnalare
Post Re: PFsense custom query
di DesignBoys su giovedì 19 maggio 2022

We are also using PFSense and everything works like a charm.

Our connection string is:
https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD

We use HTTPS instead of HTTP.
Also, we have all domains using the same server, so we just use the username option.

If you only want to update 1 specific domain, then you can try this:
https://api.dynu.com/nic/update?hostname=YOURDOMAIN&password=PASSWORD&alias=YOURHOST&myip=%IP%
(where alias is the name of the DNS A-record)

Hope it helps
DesignBoys

Rispondi con citazione | Segnalare
Post Re: PFsense custom query
di chrisdj su venerdì 20 maggio 2022

Thanks for the help everyone, it was the special characters that did it. Once I removed them it worked better, and also nos using HTTPS and a MD5 hash rather than the clear text. Living and learning...

Rispondi con citazione | Segnalare
mercoledì 17 aprile 2024 22:22
Loading...