看网页时百度的DSP广告老是跳出来,后来知道在C/Window/System32/drivers/etc/ 用记事本打开hosts,在后面加上 # 0.0.0.0 cpro.baidu.com # 0.0.0.0 ubmcmm.baidustatic.com 当然了,可以添加其它的域名禁止访问某些网站,不过在这里说明下,草根站长不容易,百度广告还是放过一马吧。下面是禁止一些流氓网站信息,只要替换自己电脑的hosts文件即可。
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 localhost
0.0.0.0 000.img2.haxiu.com
0.0.0.0 000-000.cn
0.0.0.0 00002nd.rcomhost.com
0.0.0.0 000038.chinae168.com
0.0.0.0 000063.pw
0.0.0.0 000083.pw
0.0.0.0 0000bkb.rcomhost.com
0.0.0.0 0001122.com
0.0.0.0 0002xpj.com
0.0.0.0 0004558.com
0.0.0.0 hao.qquu8.com
0.0.0.0 123.itiankong.com
0.0.0.0 www.pccppc.com
0.0.0.0 cdp1.public-trust.com
0.0.0.0 www.duba.com
本文链接:https://it72.com:4443/7293.htm