diff --git a/README.md b/README.md index 845c645..c5d2ec0 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,13 @@ docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go ``` +- [可选] 重置密码 + + ```bash + docker exec ddns-go ./ddns-go -resetPassword 123456 + docker restart ddns-go + ``` + ## 使用IPv6 - 前提:你的电脑或终端能正常获取IPv6,并能正常访问IPv6 diff --git a/README_EN.md b/README_EN.md index 35e4b94..bb33fbe 100644 --- a/README_EN.md +++ b/README_EN.md @@ -97,6 +97,13 @@ Automatically obtain your public IPv4 or IPv6 address and resolve it to the corr docker run -d --name ddns-go --restart=always -p 9876:9876 -v /opt/ddns-go:/root jeessy/ddns-go ``` +- [Optional] Reset password + + ```bash + docker exec ddns-go ./ddns-go -resetPassword 123456 + docker restart ddns-go + ``` + ## Webhook - Support webhook, when the domain name is updated successfully or not, the URL filled in will be called back