pmpio
V2EX  ›  Google

List of Google domains (Wiki),将它们放到 dnsmasq.conf 中,比 hosts 舒服多了。。。。

  •  
  •   pmpio · Oct 5, 2016 · 3636 views
    This topic created in 3696 days ago, the information mentioned may be changed or developed.

    https://en.wikipedia.org/wiki/List_of_Google_domains

    按国别分的域名可以不用管,只需要将 URL shortening & Non-localized URLs 部分放入 dnsmasq.conf 中,用 address=... 或 server=...来指定解析,即可将所有针对 Google 的域名污染全部搞定,比在 hosts 中弄一大堆优雅多了。

    7 replies  •  2016-10-12 17:07:50 +08:00
    bilok
    bilok
    Oct 5, 2016 via iPhone
    1
    google 大部分 ip 应该是路由黑洞吧
    pmpio
    pmpio
    OP
    Oct 5, 2016
    2
    @bilok 用 address=... 指向可用 ip 即可避免。
    czmecho
    czmecho
    Oct 5, 2016 via Android
    3
    什么原理呀,看不懂。
    wdlth
    wdlth
    Oct 5, 2016
    4
    竟然没有 googlevideo.com...
    skydiver
    skydiver
    Oct 5, 2016 via iPad
    5
    还是需要根据证书种类分出每一类域名的
    addidd
    addidd
    Oct 5, 2016 via Android
    6
    这。。。好麻烦啊
    还是把返回的污染 ip 直接 b 掉然后 tcp 解析算了
    lslqtz
    lslqtz
    Oct 12, 2016
    7
    @wdlth 每个子域名对应 ip 不同。。
    不同用同 ip 视频无法加载 似乎就是这样
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4357 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:22 · PVG 15:22 · LAX 23:22 · JFK 02:22
    ♥ Do have faith in what you're doing.