V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qmhw61
V2EX  ›  DNS

使用 nslookup 命令 DNS 解析域名问题

  •  
  •   qmhw61 · 291 天前 · 1800 次点击
    这是一个创建于 291 天前的主题,其中的信息可能已经有所发展或是发生改变。

    系统是 windows11 ,用 nslookup 命令解析域名,比如查询域名 data.bilibili.com ,dns 服务器 dnspod

    为什么会请求查询 data.bilibili.com.lan 这个域名,多了.lan 这个后缀,明明是请求解析 data.bilibili.com 这个域名的阿?我用 wireshark 抓包,看到请求 dns 服务器查询也是这个域名 data.bilibili.com.lan ,不知道是什么问题。

    8 条回复    2023-07-13 21:41:01 +08:00
    1423
        1
    1423  
       291 天前   ❤️ 1
    本站搜 ndots 二级域名 有答案
    qmhw61
        2
    qmhw61  
    OP
       291 天前
    另外,ping 可以
    ![]( https://imgur.com/JGAtg0s.png)
    mohumohu
        3
    mohumohu  
       291 天前   ❤️ 1
    因为你的路由器分配 dhcp 的时候加了 lan 后缀。估计你的是 openwrt 路由器。dhcp option15, domain name
    xgfan
        5
    xgfan  
       291 天前
    怎么感觉 windows 和 linux 的表现完全是反的啊。
    我之前遇到过类似的问题。
    ndots+错误的 dns 实现,导致域名可以 nslookup 到,但 ping 不通。
    iblessyou
        6
    iblessyou  
       291 天前
    借楼求问现在有什么好用的国内公共 dns
    mohumohu
        7
    mohumohu  
       291 天前 via Android
    @iblessyou 自建
    yinmin
        8
    yinmin  
       289 天前
    @iblessyou 阿里云 223.5.5.5 和 223.6.6.6
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3942 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:15 · PVG 13:15 · LAX 22:15 · JFK 01:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.