ac0d3r / Hyuga

Hyuga 是一个用来监控带外(Out-of-Band)流量的工具。🪤
GNU General Public License v3.0
516 stars 61 forks source link

使用顶级域名搭建问题 #34

Closed 0heartland0 closed 6 months ago

0heartland0 commented 7 months ago

经测试 使用顶级域名aaa.com搭建后无法访问

域名配置信息如下:

ns.aaa.com → 1.1.1.1
aaa.com NS → ns.aaa.com

配置文件 config.toml

[oob]
    [oob.dns]
        main = "aaa.com"
        ip = "1.1.1.1"
        ns = ["ns.aaa.com"]
    [oob.jndi]
        address = ":233"
        limit = 1000

[web]
    address = "localhost:8080"
    [web.github]
        client-id = "xxx"
        client-secret = "xxxxxxxx"

搭建后无法访问顶级域名

使用二级域名l.aaa.com搭建后可以正常访问

域名配置信息如下:

ns.aaa.com → 1.1.1.1
l.aaa.com NS → ns.aaa.com

配置文件 config.toml

[oob]
    [oob.dns]
        main = "l.aaa.com"
        ip = "1.1.1.1"
        ns = ["ns.aaa.com"]
    [oob.jndi]
        address = ":233"
        limit = 1000

[web]
    address = "localhost:8080"
    [web.github]
        client-id = "xxx"
        client-secret = "xxxxxxxx"

顶级域名无法访问是哪里的配置还需要修改吗?还是说只能通过二级域名访问呢?请大佬指点下,谢谢!