PFsense custom query
PFsense custom query
- Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- PFsense custom query
- Community Forum
- PFsense custom query
Topic: PFsense custom query
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.ThanksChris
Reply with quote | Report
Try MD5 hash of the password or set up an IP update password without special characters.
Reply with quote | Report
We are also using PFSense and everything works like a charm.Our connection string is:https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORDWe 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 helpsDesignBoys
Reply with quote | Report
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
Author | Topic: PFsense custom query |
---|---|
chrisdj Joined: 4/27/2022 |
![]() Thursday, May 5, 2022 12:43 PM
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.ThanksChris
|
timothytw Joined: 5/2/2002 |
![]() Sunday, May 8, 2022 9:15 PM
Try MD5 hash of the password or set up an IP update password without special characters.
|
DesignBoys Joined: 5/26/2021 |
![]() Thursday, May 19, 2022 4:18 AM
We are also using PFSense and everything works like a charm.Our connection string is:https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORDWe 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 helpsDesignBoys
|
chrisdj Joined: 4/27/2022 |
![]() Friday, May 20, 2022 4:32 AM
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...
|
![](/content/images/icons/icon-big-pushpinyellow.png)
Sunday, August 18, 2024 7:42 AM