3 ms·
Can I black-hole all of China in my hosts file? Off the top of my head I'm not going to miss anything, and I'd hate to be an unwitting participant in future at
by bentcorner 12y ago
Can I black-hole all of China in my hosts file? Off the top of my head I'm not going to miss anything, and I'd hate to be an unwitting participant in future attacks.
- jakeogh 12y agoUsing dnsmasq¹: $ echo 'address=/.baidu.com/127.0.0.1' >> /etc/dnsmasq.conf hosts file blocking is more difficult since you must list each subdomain. ¹everyone should
- Laforet 12y agoYou an certainly blackhole all baidu.con domains if you never use their services.
- peteretep 12y agoYou could use a tool like Ghostery to stop loading Baidu JS
- jacquesm 12y agohttp://www.ipdeny.com/ipblocks/data/countries/cn.zone http://www.ipdeny.com/ipblocks/data/countries/cn.zone