Automatically send IP updates to a DDNS
Setting up connection
When you first start your server with the plugin, the plugin will prompt you to edit the config.yml
You will need to change the first four before you use the plugin. Here are some details:Code:--- api: url of api gateway user: username password: your password hostname: hostname to use ip: DO NOT SET THIS :) ...
api - The URL to connect to the API (don't include the https://), for example dnsdynamic has it's api gateway at www.dnsdynamic.org/api/, and no-ip has it's at dynupdate.no-ip.com/nic/update. You can find the gateway by looking around your DNS provider website for API docs.
user - Your username for the DNS provider. This is often your email.
password - Your account password for the DNS provider (don't worry SSL is used).
hostname - The domain name that represents your server, you must have already added it to the service.
The purgeip commandCode:--- api: www.dnsdynamic.org/api/ user: [email protected] password: MyPassword hostname: falk.ns360.info ip: DO NOT SET THIS :) ...
The purge IP command is to be used only if you have changed your DNS host or fixed an error, it will clear your IP and any existing errors and send the current IP to the service.
Dealing with errors
If you receive an error you should make the appropriate changes to your config and then run /purgeip.
Some services block clients automatically for misuse of the API. Possible block reasons are:
- Sending two IP change requests where no change is needed.
- Connecting within 30mins of a 911 error.
- Disregarding any other errors.