Open
Conversation
Add multi-record DNS update support, improve Cloudflare API parsing, and switch default IP fetch commands to ifconfig.me. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
我在使用插件时的想法是路由器设置端口转发到服务器,然后服务器区分子域名做反向代理,所以产生了想让插件同时维护多个域名的想法。
其他的改动主要有对解析日志的优化以及更改默认获取ip的脚本。
附上本地打包运行的效果以及copilot对pr的总结:
This pull request introduces major enhancements to the CloudFlare DDNS script and its web UI, focusing on supporting multiple domain records (up to 10), improving error handling, and streamlining the configuration experience. The backend shell script and frontend web interface have been refactored to manage multiple domain entries, validate input, and provide clearer status reporting.
Multiple domain record support and input validation:
cfddns_config.sh) and the web UI (Module_cfddns.asp). This includes new logic for parsing, validating, and iterating over multiple records, as well as user feedback when limits or errors are encountered. [1] [2] [3] [4]Backend script improvements:
curl ifconfig.meandcurl -6 ifconfig.me, respectively, for greater reliability. [1] [2]Web UI enhancements:
Version update:
1.1to1.3to reflect these significant feature additions and improvements.