› Get Google Chrome
› Vimium · 在 Chrome 里使用 vim 快捷键
VisualStudioCode
V2EX  ›  Chrome

在 Chrome 地址栏输入 gov.cn,回车,不会进入 www.gov.cn,而只会谷歌搜索「gov.cn」,这是怎样的设计?

  •  
  •   VisualStudioCode · Oct 29, 2023 · 4517 views
    This topic created in 1106 days ago, the information mentioned may be changed or developed.
    当然,如果通过其他方式访问过 www.gov.cn ,那是会进入该网站的。

    所以最好在访客模式中测试(右上角头像-访客)。
    26 replies  •  2023-11-07 10:10:06 +08:00
    stcode
    stcode
    Oct 29, 2023
    1
    没解析顶级域名,或者没做跳转
    yaott2020
    yaott2020
    Oct 29, 2023 via Android
    2
    gov.cn/ 试试
    tf141
    tf141
    Oct 29, 2023
    3
    真的哎,edge 会直接解析,chrome 为什么不行呢?
    Andim
    Andim
    Oct 29, 2023
    4
    gov.cn 这个有点像 co.jp 的感觉
    wongtk
    wongtk
    Oct 29, 2023 via iPhone
    5
    brave😂 This site can't be reached
    stcode
    stcode
    Oct 29, 2023
    6
    @tf141 edge 浏览器默认会把顶级域名换成 www 开头的二级域名,解没解析都这样。谷歌反应的是真实情况域名未解析。
    pingdog
    pingdog
    Oct 29, 2023
    7
    gov.cn 不是 domain 只是 domain suffix
    www 正是 domain name

    2 个组合起来是 domain
    [name].[suffix]
    pingdog
    pingdog
    Oct 29, 2023
    8
    Microsoft Edge
    版本 118.0.2088.76 (正式版本) (64 位)
    我的不自动跳到 www.gov.cn
    同样是打开 search page

    貌似 edge 有个用于改善输入错误域名体验的设置,不太记得,可以自己捣鼓下
    BeijingBaby
    BeijingBaby
    PRO
    Oct 29, 2023❤️4
    9
    gov.cn 是后缀,不是域名。
    www.gov.cn 是域名
    如果包含 www 完整的:www.www.gov.cn
    leonshaw
    leonshaw
    Oct 29, 2023 via Android
    10
    估计是因为在这个表里 https://publicsuffix.org/list/public_suffix_list.dat
    但是域名后缀一样可以是网站,甚至 TLD 也可以,例如 http://ai/
    qu771M5iZv41syn9
    qu771M5iZv41syn9
    Oct 29, 2023
    11
    第一个也打不开
    https://tinypic.host/images/2023/10/29/1000008334.png
    300
    300
    Oct 29, 2023
    13
    和 www.net.cn 一样
    est
    est
    Oct 29, 2023
    14
    @BeijingBaby 这个怎么不是域名了????
    lovelylain
    lovelylain
    Oct 29, 2023 via Android
    15
    当域名还是当关键词本身没有标准,浏览器觉得哪种方案更可能是用户的意图就选择了哪种,虽然域名后缀也可以是网站,但一般很少访问这样的网站,真要当网站访问,后面多输一个/应该就行了,gov.cn 是域名后缀
    iloveayu
    iloveayu
    Oct 29, 2023
    16
    不是,你们这怎么 nslookup 都不会了?
    *** No internal type for both IPv4 and IPv6 Addresses (A+AAAA) records available for gov.cn

    没解析,浏览器这个行为不是很正常吗?
    Blackricky
    Blackricky
    Oct 29, 2023
    17
    chrome://omnibox/ 这里可以看到 chrome 对地址栏输入字符的解析过程
    IvanLi127
    IvanLi127
    Oct 30, 2023 via Android
    18
    我觉得这是正常设计,因为一个网站域名不可能是 gov.cn 呀
    baobao1270
    baobao1270
    Oct 30, 2023
    19
    Google 维护了一份公共后缀列表(比如 co[.]uk 这样的),这里面既包括各国定义的用来注册的二级域名,也包括一些其公司做的公共二级域名(比如用来坑人的 cn[.]com )。
    baobao1270
    baobao1270
    Oct 30, 2023
    20
    而且顺带一提,这种三级域名是可以托管在 Cloudflare 上的,但是 Cloudflare 不允许添加其他三级域名,因为 Cloudflare 用的也是 Google 的列表。
    AIXAI
    AIXAI
    Oct 30, 2023 via Android
    21
    @BeijingBaby gov.cn 既可以是后缀,也可以是完整的域名
    .cn 后缀中,gov.cn 就是完整的域名
    .gov.cn 后缀中,www.gov.cn 就是完整的域名。

    还有完整的域名不需要 www 的....
    YHKM
    YHKM
    Oct 30, 2023 via Android
    22
    因为国内 gov.cn 的域名实际是 www.www.gov.cn 他注册的是 www.gov.cn ,实际上访问省略了 www ,所以正常域名是 www.www.gov.cn
    domainnamesir
    domainnamesir
    Oct 30, 2023 via Android
    23
    ????

    .gov.cn
    .mil.cn
    .ac.cn
    .edu.cn
    .gx.cn
    这类域名是作为域名后缀使用的啊,满足条件,你也可以注册 shabi.gov.cn
    k9982874
    k9982874
    Oct 30, 2023
    24
    谷哥:不会有人不设置 www 域名解析吧
    谷哥:艹,还真有不设置的!
    AIXAI
    AIXAI
    Oct 30, 2023 via Android
    25
    @YHKM 有没有一种可能,gov.cn 就是一个域名,gov 就是前缀,.cn 就是后缀
    而不是.gov.cn 后缀
    qianxuu
    qianxuu
    Nov 7, 2023
    26
    @Blackricky 我进里面调试发现百度其实是有 search-suggest 的,但是地址栏不能显示出来,google/bing 的可以,想知道为啥,几年前就想找如何让 chrome 显示百度搜索建议,但是一直找不到方法
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   513 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 77ms · UTC 21:43 · PVG 05:43 · LAX 13:43 · JFK 16:43
    ♥ Do have faith in what you're doing.