Skip to content

Synology router integration with Porkbun DDNS provider

Notifications You must be signed in to change notification settings

aj0413/synology-porkbun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

To use this script with a Synology router:

  1. Save the script on your Synology device (e.g., as /usr/syno/bin/ddns/porkbun.sh). scp porkbun.sh admin_user@synology_hostname:/home/ then ssh and mv it to final destination
  2. Update attributes
        chown root /usr/syno/bin/ddns/porkbun.sh
        chgrp root /usr/syno/bin/ddns/porkbun.sh
        chmod 755  /usr/syno/bin/ddns/porkbun.sh
  1. Add an entry to the /etc.defaults/ddns_provider.conf file (you may need to create this file if it doesn't exist):
[Porkbun]
        modulepath=/usr/syno/bin/ddns/porkbun.sh
        queryurl=Porkbun
  1. In the Synology router's DDNS settings, you should now be able to select "Porkbun" as a provider and enter your API key as the username and your Secret key as the password.
  2. Create the A record for your domain in the Porkbun settings (this script only updates them)

Important Note: Be very careful when pasting your API and Secret keys into the Synology UI, as it can be quite finicky about handling these inputs. If you encounter any issues, it's a good idea to uncomment the logging statements at the top of the script. This will help you troubleshoot by checking the parameters being passed to the script.

About

Synology router integration with Porkbun DDNS provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%