PFsense custom query PFsense custom query

Topic: PFsense custom query

Post PFsense custom query
by chrisdj on jeudi 5 mai 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

Reply with quote | Report
Post Re: PFsense custom query
by timothytw on dimanche 8 mai 2022

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

Reply with quote | Report
Post Re: PFsense custom query
by DesignBoys on jeudi 19 mai 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

Reply with quote | Report
Post Re: PFsense custom query
by chrisdj on vendredi 20 mai 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...

Reply with quote | Report
samedi 23 novembre 2024 01:40
Loading...