Files
onion-dmp/DNS修复步骤.txt
2026-04-08 14:52:09 +08:00

94 lines
3.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
🔧 DNS 配置修复步骤(解决 530/1033 错误)
当前问题DNS 记录指向了旧的或不存在的 Tunnel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 正确的配置信息
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Tunnel ID: d8a6a4cd-4ddf-4122-92f1-b3d961aca422
Tunnel 名称: dmp-tunnel
目标域名: dmp.ink1ing.tech
正确的 CNAME 记录内容:
d8a6a4cd-4ddf-4122-92f1-b3d961aca422.cfargotunnel.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 修复步骤5分钟完成
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
步骤 1: 打开 Cloudflare Dashboard
--------------------------------
访问: https://dash.cloudflare.com/
登录: huinkling@gmail.com
步骤 2: 进入域名 DNS 设置
--------------------------------
1. 在首页点击域名: ink1ing.tech
2. 点击左侧菜单: DNS
3. 点击二级菜单: 记录
步骤 3: 找到并编辑 dmp 记录
--------------------------------
在 DNS 记录列表中找到:
- 类型: CNAME
- 名称: dmp (或 dmp.ink1ing.tech)
如果找到了旧记录:
✅ 点击 [编辑] 按钮
✅ 将 [内容/目标] 修改为:
d8a6a4cd-4ddf-4122-92f1-b3d961aca422.cfargotunnel.com
✅ 确保 [代理状态] 为 "已代理" (橙色云朵图标 ☁️)
✅ 点击 [保存]
如果没有找到 dmp 记录:
✅ 点击 [添加记录] 按钮
✅ 类型: CNAME
✅ 名称: dmp
✅ 目标: d8a6a4cd-4ddf-4122-92f1-b3d961aca422.cfargotunnel.com
✅ 代理状态: 已代理 (橙色云朵)
✅ 点击 [保存]
步骤 4: 启动服务
--------------------------------
在终端运行:
cd /Users/inkling/Desktop/dmp
./fix-and-start.sh
或双击运行: fix-and-start.sh
步骤 5: 验证部署
--------------------------------
等待 1-2 分钟后访问:
https://dmp.ink1ing.tech
或在终端测试:
curl https://dmp.ink1ing.tech
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
❓ 常见问题
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Q: 修改后仍然显示 530 错误?
A: 1. 确保本地服务器和 Tunnel 正在运行
2. 等待 2-3 分钟让 DNS 传播
3. 清除浏览器缓存
Q: 如何确认 Tunnel 是否在运行?
A: 运行命令: cloudflared tunnel info dmp-tunnel
应该显示 "2 connections" 或类似信息
Q: 找不到 dmp 的 DNS 记录?
A: 可能被自动删除了,直接添加新记录即可
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 完成标志
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ DNS 记录已正确配置
✅ 本地服务器运行中 (http://localhost:3456)
✅ Cloudflare Tunnel 显示 "Registered connection"
✅ 可以访问 https://dmp.ink1ing.tech
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━