Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器三级域名支持? #343

Closed
PikuZheng opened this issue Feb 7, 2020 · 2 comments
Closed

服务器三级域名支持? #343

PikuZheng opened this issue Feb 7, 2020 · 2 comments

Comments

@PikuZheng
Copy link
Contributor

问题现象
简要描述问题出现的现象

运行环境

  1. 固件型号
    Openwrt X86_64

  2. 运营商
    无关
    重现步骤

  3. 上游DNS配置。
    server-tls 注册后分配.d.rubyfish.cn
    相同的服务器直接配置在安卓9的安全dns中能正常使用
    另配置
    address /注册后分配.d.rubyfish.cn/47.96.133.153

  4. 访问的域名。
    任意

信息收集

  1. 将/var/log/smrtdns.log日志作为附件上传。
    ···
    [2020-02-07 23:38:02,292][ INFO][ dns_server.c:2242] query server www.mi.com from 172.17.2.172, qtype = 1
    [2020-02-07 23:38:02,292][DEBUG][ dns_client.c:395 ] send query to group default
    [2020-02-07 23:38:02,292][ INFO][ dns_client.c:2547] send request www.mi.com, qtype 1, id 13
    [2020-02-07 23:38:02,293][DEBUG][ dns_server.c:2212] recv query packet from 172.17.2.172, len = 28
    [2020-02-07 23:38:02,293][DEBUG][ dns_server.c:2221] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 28, id = 43272, tc = 0, rd = 1, ra = 0, rcode = 0
    [2020-02-07 23:38:02,293][ INFO][ dns_server.c:2242] query server www.mi.com from 172.17.2.172, qtype = 28
    [2020-02-07 23:38:02,293][DEBUG][ dns_client.c:395 ] send query to group default
    [2020-02-07 23:38:02,293][ INFO][ dns_client.c:2547] send request www.mi.com, qtype 28, id 14
    [2020-02-07 23:38:02,858][DEBUG][ dns_client.c:2728] retry query www.mi.com
    [2020-02-07 23:38:02,858][DEBUG][ dns_client.c:2728] retry query www.mi.com
    [2020-02-07 23:38:03,458][DEBUG][ dns_client.c:2728] retry query www.mi.com
    [2020-02-07 23:38:03,458][DEBUG][ dns_client.c:2728] retry query www.mi.com
    ···
  2. 如进程异常,请将coredump功能开启,上传coredump信息文件。
    在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件
    coredump文件在/tmp目录下
@pymumu
Copy link
Owner

pymumu commented Feb 8, 2020

没这种限制

@pymumu
Copy link
Owner

pymumu commented Feb 16, 2020

另外,server-tls中的域名是不会使用address指定的IP,如果你要用IP,直接在server-tls中使用IP。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants