#1718·ddns-go

忘记用户名和密码

Author: linxingwuCreated Jul 11, 2026Updated Jul 11, 2026
Labelsbug

Description

ddns-go -resetPassword 并没有按照预期的生效。

bash
root@ImmortalWrt:~# touch .ddns_go_config.yaml
root@ImmortalWrt:~# ddns-go -resetPassword  ……
2026/07/11 13:30:15 Config file has been saved to: /root/.ddns_go_config.yaml
2026/07/11 13:30:15 The password of username  has been reset successfully! Please restart ddns-go
root@ImmortalWrt:~# service ddns-go restart
root@ImmortalWrt:~# cat .ddns_go_config.yaml
dnsconf: []
user:
    username: ""
    password: $2a$1ds6
webhook:
    webhookurl: ""
    webhookrequestbody: ""
    webhookheaders: ""
notallowwanaccess: true
lang: ""

用户名是什么? 试了admin, administrator 也试了在这个配置文件里直接加一个用户名,都没有作用。一直是用户名密码错误。

DNS Provider

No response

Did you search for similar issues before submitting this one?

Yes, I did, but I didn't find anything useful

Operating System

Linux

Architecture

i386

Version

6.9.1

How are you running ddns-go?

Service

Any other information

参考了QA https://github.com/jeessy2/ddns-go/wiki/FAQ#%E5%BF%98%E8%AE%B0%E7%94%A8%E6%88%B7%E5%90%8D%E6%88%96%E5%AF%86%E7%A0%81