PFsense custom query PFsense custom query

Topic: PFsense custom query

Post PFsense custom query
by chrisdj on Thursday, May 5, 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 Sunday, May 8, 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 Thursday, May 19, 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 Friday, May 20, 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
Friday, November 15, 2024 1:14 PM
Loading...