Skip to content

Steve-Tech/DynamicDNS-Spigot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicDNS for Spigot

A dynamic DNS plugin for Spigot

Commands:

  • /DynamicDNS <update|list|reload>
    • /DynamicDNS update [IP]
      • Description: Force updates the IP on your DDNS Services, the IP argument can also be used to override the IP detection on the DDNS services (best to leave it blank)
      • Permission: dynamicdns.update
      • Default: op without IP or false with IP
    • /DynamicDNS list
      • Description: See enabled DDNS Services
      • Permission: dynamicdns.list
      • Default: op
    • /DynamicDNS reload
      • Description: Reload the DynamicDNS config
      • Permission: dynamicdns.reload
      • Default: false

Config:

# The Configuration File for Steve's DynamicDNS Plugin  
period: 3600 # The period between updating IPs in seconds (3600 = 1 hour)

afraid:
  enabled: false
  token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # The token taken from the URL on the Dynamic DNS page (eg. http://freedns.afraid.org/dynamic/update.php?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)

duckdns:
  enabled: false
  domain: exampledomain # Your subdomain on DuckDNS.org
  token: a7c4d0ad-114e-40ef-ba1d-d217904a50f2 # Your token on DuckDNS.org

dynu:
  enabled: false
  hostname: example.ddnsfree.com # Your domain on Dynu
  password: password as plaintext, md5 or sha256 # Your password for Dynu (preferably hashed as md5 or sha256 so you're not storing your password in this file)

noip:
  enabled: false
  hostname: example.ddnsfree.com # Your domain on No-IP
  username: username # The username to your account
  password: password # The password to your account (sadly they don't support hashed passwords)

namecheap:
  enabled: false
  subdomain: '@' # subdomain of server, use '@' if none, multiple subdomains can be updated if separated by a comma ',' e.g. mc,map
  domain: exampledomain.com
  token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # The token under the "Advanced DNS" Section in your namecheap domain list

cloudflare:
  enabled: false
  name: example.com # The dns record name to get the record ID for
  zone_id: 023e105f4ecef8ad9ca31a8372d0c353 # The Zone ID from the Cloudflare Dash
  record_id: null # The ID of the record from the API, leave null to populate automatically
  token: 21f72dee0e91a40be0a5964f6695fa8c # The API Token generated from the Cloudflare Dash, needs DNS Edit permissions

custom:
  enabled: false
  url: https://example.com/?ip=%ip% # The URL to your custom DDNS service, %ip% will be replaced with an ip given as an argument to /updateip [IP]