自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...) https://ddns.newfuture.cc/
|
|
4 months ago | |
|---|---|---|
| .github | 4 months ago | |
| .release | 6 months ago | |
| .vscode | 4 months ago | |
| ddns | 4 months ago | |
| doc | 4 months ago | |
| docker | 4 months ago | |
| schema | 4 months ago | |
| tests | 4 months ago | |
| .gitignore | 6 months ago | |
| CNAME | 7 years ago | |
| LICENSE | 6 years ago | |
| README.en.md | 4 months ago | |
| README.md | 4 months ago | |
| _config.yml | 4 months ago | |
| favicon.ico | 6 months ago | |
| pyproject.toml | 5 months ago | |
| run.bat | 9 years ago | |
| run.py | 4 months ago | |
| setup.cfg | 5 months ago | |
| systemd.sh | 5 years ago | |
| task.bat | 1 year ago | |
| task.sh | 7 years ago |
Automatically update DNS records to the current IP address, supporting IPv4 and IPv6, local (private) IP and public IP. Proxy mode supported, with automatic DNS record creation.
Compatibility and Cross-Platform:
Configuration Methods:
Domain Support:
IP Types:
Network Proxy:
DNS Provider Support:
⚡ Providers marked with lightning use advanced HMAC-SHA256 signature authentication for enterprise-level security
- Other Features:
- Configurable scheduled tasks
- TTL configuration support
- DNS line (ISP) configuration support (for domestic providers)
- Local file caching (reduces API requests)
- Custom callback API trigger on IP change (mutually exclusive with DDNS functionality)
Choose one of the following methods: binary version, pip version, source code execution, or Docker.
Docker version is recommended for best compatibility, small size, and optimized performance.
For detailed instructions and advanced usage, see Docker Usage Documentation
Supports command line, configuration file, and environment variable parameters
Command line CLI
docker run newfuture/ddns -h
Using configuration file (Docker working directory /ddns/, default config location /ddns/config.json):
docker run -d -v /host/config/:/ddns/ --network host newfuture/ddns
Using environment variables:
docker run -d \
-e DDNS_DNS=dnspod \
-e DDNS_ID=12345 \
-e DDNS_TOKEN=mytokenkey \
-e DDNS_IPV4=ddns.newfuture.cc \
--network host \
newfuture/ddns
pip install ddns or easy_install ddnsddns -h or python -m ddnsGo to releases to download the corresponding version
python run.py or python -m ddnsApply for API token, fill in the corresponding id and token fields:
email + API KEY, you can also use Token, requires list Zone permission) | Detailed Configurationtoken field, id field can be left empty) | Detailed ConfigurationModify the configuration file, ipv4 and ipv6 fields for domains to be updated, refer to configuration instructions for details
All fields can be configured through three methods, with priority: Command Line Parameters > JSON Configuration File > Environment Variables
ddns --key=value (use ddns -h for details), highest priority${ddns_id} or ${DDNS_ID}, ${DDNS_LOG_LEVEL})If the same configuration item is set in multiple places, the following priority rules apply:
Advanced Usage: