DDNS_for_DNSPod
Simple python DDNS server based on DNSPod APIs
Usage
- Rename
config_sample.py
toconfig.py
- Get your dnspod token from dnspod.cn
- Edit
config.py
as you go - The
TOKEN
field is for your client to connect to your server - Add your A or AAAA record for DDNS on dnspod.cn. (This server can only deal with exist records)
- On your client, request https://[yourserver]/?domain=[your ddns domain]&token=[your token in step 4]
- if you have a proxy server such as Nginx, please set up the
X-Real-IP
andX-Forwarded-For
header (read https://www.digitalocean.com/community/questions/how-do-i-forward-client-ip-instead-of-proxy-ip-in-nginx-reverse-proxy)