mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #372] 开启ShellCrash代理后,证书->证书列表->签发通配符证书 失败 #5985
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#5985
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gfgjs on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/372
环境:
操作:
路由器 开启 ShellCrash 代理后,
通过:nginxui 证书->证书列表->签发通配符证书 失败
不进行任何其他修改,仅关闭ShellCrash代理,
再次签发通配符证书 成功
(以上步骤尝试过多次)
附上失败和成功的日志
签发通配符证书 日志.txt
我注意到日志中,acme使用了nameserver的53端口,不知是否有关
@0xJacky commented on GitHub (May 3, 2024):
是本地 DNS 服务器的问题,ShellCrash的dns有缓存吧
@0xJacky commented on GitHub (May 3, 2024):
我看了日志,
Checking DNS record propagation. [nameservers=192.168.128.2:53],用的这个 DNS 服务器,lego 会等待 1 分钟,间隔 2s 检查 DNS 的改动是否传播到你的 DNS 服务器,如果是 ShellCrash 这一类会缓存 DNS 结果的,可能就会出问题,这个可以看看能否关闭 ShellCrash 的 DNS 缓存。
@0xJacky commented on GitHub (May 3, 2024):
不过这个问题应该有办法,我看 lego 可以设置 recursiveNameservers,我加个备用 DNS 服务器的设置
@0xJacky commented on GitHub (May 4, 2024):
更新到 v2.0.0-beta.22,在 偏好设置 > 基本 中,找到递归域名服务器

你可以添加多个 DNS 服务器,拖拽排序或删除。
关于 app.ini 的配置说明请参考:https://nginxui.com/zh_CN/guide/config-server.html#recursivenameservers
@gfgjs commented on GitHub (May 4, 2024):
好好好!太强了!修改太及时,使我的服务器旋转!
@jearton commented on GitHub (May 8, 2024):
我的网络环境里也有软路由,流量会经过OpenClash,这里对DNS有什么影响吗
@0xJacky commented on GitHub (May 8, 2024):
会的,openclash 的 DNS 服务器会缓存上游的结果,所以 DNS 挑战的时候通过 API 更新的 DNS 记录就传播不过来,大概率超时然后挑战失败的,你可以手动指定一下 Nginx UI 的上游。