qmhw61
V2EX  ›  DNS

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

  •  
  •   qmhw61 · Jul 11, 2023 · 3387 views
    This topic created in 1218 days ago, the information mentioned may be changed or developed.

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

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

    8 replies  •  2023-07-13 21:41:01 +08:00
    slowman
    slowman
    Jul 11, 2023❤️1
    1
    本站搜 ndots 二级域名 有答案
    qmhw61
    qmhw61
    OP
    Jul 11, 2023
    2
    另外,ping 可以
    ![]( https://imgur.com/JGAtg0s.png)
    mohumohu
    mohumohu
    Jul 11, 2023❤️1
    3
    因为你的路由器分配 dhcp 的时候加了 lan 后缀。估计你的是 openwrt 路由器。dhcp option15, domain name
    6IbA2bj5ip3tK49j
    6IbA2bj5ip3tK49j
    Jul 11, 2023
    5
    怎么感觉 windows 和 linux 的表现完全是反的啊。
    我之前遇到过类似的问题。
    ndots+错误的 dns 实现,导致域名可以 nslookup 到,但 ping 不通。
    iblessyou
    iblessyou
    Jul 12, 2023
    6
    借楼求问现在有什么好用的国内公共 dns
    mohumohu
    mohumohu
    Jul 12, 2023 via Android
    7
    @iblessyou 自建
    yinmin
    yinmin
    Jul 13, 2023
    8
    @iblessyou 阿里云 223.5.5.5 和 223.6.6.6
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:31 · PVG 23:31 · LAX 07:31 · JFK 10:31
    ♥ Do have faith in what you're doing.