johnsonhk
V2EX  ›  Windows

windows 改 hosts 时,网址开端是任意怎么去表示?

  •  
  •   johnsonhk · Aug 23, 2021 · 3737 views
    This topic created in 1900 days ago, the information mentioned may be changed or developed.
    只要后面是 taobao.com 就去指定 ip
    113.96.109.100 .taobao.com
    113.96.109.100 *.taobao.com
    试过以上 2 个方案都无效
    有大神能解答吗?
    7 replies  •  2021-09-04 23:21:45 +08:00
    xiao201261
    xiao201261
    Aug 23, 2021
    1
    自建 dns 服务器 比如 adguard Home / dnsmasq
    然后本地 dns 指向 127.0.0.1
    crystom
    crystom
    Aug 23, 2021
    2
    不支持,得用第三方软件
    chenluo0429
    chenluo0429
    Aug 23, 2021
    3
    hosts 不支持通配符,需要通过其他手段去实现
    qwerthhusn
    qwerthhusn
    Aug 23, 2021
    4
    自定义 DNS 服务器
    johnsonhk
    johnsonhk
    OP
    Aug 23, 2021
    5
    @crystom
    @chenluo0429
    @qwerthhusn 好吧,谢谢回答
    opengps
    opengps
    Aug 24, 2021
    6
    印象中 hosts 不支持泛解析
    hxy100
    hxy100
    Sep 4, 2021
    7
    不支持,有这种需求的,建议入手软路由,软路由可解千愁
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3073 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 98ms · UTC 11:14 · PVG 19:14 · LAX 03:14 · JFK 06:14
    ♥ Do have faith in what you're doing.