pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.29k stars 1.06k forks source link

smartdns 升级到46后,Server名字变成了127.0.0.1 如何改回smartdns名字? #1788

Open netdog8899 opened 1 month ago

netdog8899 commented 1 month ago

问题现象
smartdns 升级到46后,Server名字变成了127.0.0.1 如何改回smartdns名字

$ nslookup -querytype=ptr smartdns Server: 127.0.0.1 Address: 127.0.0.1:53 $ nslookup baidu.com smartdns:6051 nslookup: bad address 'smartdns:6051'(提示找不到smartdns) 这样是不是smartdns失效了? 运行环境

  1. 固件型号 R4S

  2. 运营商 电信

  3. smartdns来源以及版本 46

  4. 涉及的配置(注意去除个人相关信息)

重现步骤

  1. 上游DNS配置。

  2. 访问的域名。
    baidu.com

信息收集

  1. 将/var/log/smrtdns.log日志作为附件上传(注意去除个人相关信息)。
  2. 如进程异常,请将coredump功能开启,上传coredump信息文件,同时上传配套的smartdns进程文件。
    在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件 coredump文件在/tmp目录下
PikuZheng commented 1 month ago
  1. nslookup 不支持指定端口
  2. “smartdns”不是一个合法的域名。将“smartdns”解析为ip是wins的事
  3. ptr查询不是这么用的
netdog8899 commented 1 month ago
  1. nslookup 不支持指定端口
  2. “smartdns”不是一个合法的域名。将“smartdns”解析为ip是wins的事
  3. ptr查询不是这么用的

好的,之前Server: smartdns,现在变成Server: 127.0.0.1 有影响吗?

PikuZheng commented 1 month ago

这个应该是和客户端有关

netdog8899 commented 1 month ago

这个应该是和客户端有关

如何解决?