smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

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

Open netdog8899 opened this issue 1 year ago • 4 comments

问题现象
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目录下

netdog8899 avatar Jul 31 '24 08:07 netdog8899

  1. nslookup 不支持指定端口
  2. “smartdns”不是一个合法的域名。将“smartdns”解析为ip是wins的事
  3. ptr查询不是这么用的

PikuZheng avatar Jul 31 '24 13:07 PikuZheng

  1. nslookup 不支持指定端口
  2. “smartdns”不是一个合法的域名。将“smartdns”解析为ip是wins的事
  3. ptr查询不是这么用的

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

netdog8899 avatar Jul 31 '24 13:07 netdog8899

这个应该是和客户端有关

PikuZheng avatar Jul 31 '24 13:07 PikuZheng

这个应该是和客户端有关

如何解决?

netdog8899 avatar Jul 31 '24 14:07 netdog8899