Reject the garbage website with the HOSTS file

zhaozj2021-02-16  96

Sczhoubing

The hosts file maps the host name to the IP address and is stored in the /% SystemRoot% / System32 / Drivers / etc folder. This file establishes a host name (domain name) corresponds to the IP address, which can be understood as the DNS system of this unit. Whenever the operating system network is accessible to a host (domain name), you will look for whether there is a corresponding record in the HOSTS file. If you read the record of the HOSTS, you have access to the specified DNS server. This allows us to use the Hosts file to implement some special features, such as filtering the spam, establishing a domain name resolution of the native environment (this is very helpful to this machine test website).

Example of the content format of the Hosts file is as follows:

IP address host name (domain name) Note (no available) 102.54.94.97 Rhino.acme.com # Source Server38.25.63.10 x.acme.com # x Client Host127.0.0.1 www.test.com # 本机Website test environment

Simple ~~, the following is the HOSTS file shared by netizens, which believes to be available.

# CopyRight (c) 1993-1999 Microsoft Corp. ## this is a sample hosts file used by Microsoft TCP / IP for Windows. ## This file contacts the mappings of ip address to host names. Each # entry shop 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 folline 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

127.0.0.1 Localhost # 3721127.0.0.1 3721.com127.0.0.1 3721.NET127.0.0.1 CNSMin.3721.com127.0.0.1 cnsmin.3721.net127.0.0.1 Download.3721.com 127.0.0.1 Download .3721.NET127.0.0.1 www.3721.com127.0.0.1 www.3721.net127.0.0.1 sbox.3721.com127.0.0.1 union.3721.com # 百度 127.0.0.1 bar.baidu.com127 .0.0.1 www.baidu.com127.0.0.1 baidu.com127.0.0.1 Download.Baidu.com127.0.0.1 bar.baidu.com # cnic127.0.0.1 cdn2.cnlic.cn127.0.0.1 CNNIC .NET.CN127.0.0.1 www.cnnic.net.cn127.0.0.1 www.cnnic.com127.0.0.1 www.cnnic.com.cn127.0.0.1 www.cnnic.net # sina127.0.0.1 Ads.china.com127.0.0.1 adj1.sina.com.cn127.0.0.1 ad2.sina.com.cn127.0.0.1 ad3.sina.com.cn127.0.0.1 ad4.sina.com.cn127. 0.0.1 uil.sina.com.cn127.0.0.1 sina.allyes.com127.0.0.1 classad.bj.sina.com.cn # 163.com127.0.0.1 popme.163.com127.0.0.1 AD4 .163.com127.0.0.1 ad.163.com127.0.0.1 mob.163.com127.0.0.1 images.163.com127.0.0.1 img.163.com127.0.0.1 ADCC.163.com127. 0.0.1 adimg.163.com # sohu.com127.0.0.1 images.sohu.com # Tom.com127.0.0.1 image.cn.tom.com127.0.0.1 SMSAD. Tom.com127.0.0.1 usmsad.tom.com127.0.0.1 sms1ad.tom.com127.0.0.1 Tomad.cn.tom.com # china.com127.0.0.1 lovessky.china.com127.0.0.1 ADS .china.com127.0.0.1 adserver.china.com # cuteftp127.0.0.1 dbregistration.cuteftp.com127.0.0.1 globalscape.com127.0.0.1 www.cuteftp.com127.0.0. 1 www.globalscape.com # Flashfxp127.0.0.0.0.1 Flashfxp.org127.0.0.1 Flashfxp.ws127.0.0.1 www.flashfxp.com127.0.0.1 www.flashfxp.org127.0.0. 1 www.flashfxp.ws # windvd127.0.0.1 upgrade.Intervideo.com # qq *** 127.0.0.1 QQ168.CN127.0.0.1 QQ163.com127.0.0.1 qq530.com127. 0.0.1 QQ530.NET127.0.0.1 QQ988.com127.0.0.1 QQ250.com127.0.0.1 www.qq588.com127.0.0.1 www.qq3344.com127.0.0.1 www.qq163.com127.0.0. 1 www.qq168.net127.0.0.1 www.

QQ168.com127.0.0.1 www.qq530.com127.0.0.1 www.qq530.net127.0.0.1 www.qq520.com127.0.0.1 www.qq520.net127.0.0.1 www.qq988.com127.0.0 .1 www.qq988.net127.0.0.1 www.qq886.com127.0.0.1 www.qq250.com # other127.0.0.1 www.hao114.com127.0.0.1 hao114.com127.0.0.1 www.hao3344 .com127.0.0.1 www.hao123.com127.0.0.1 xxx.hao114.com127.0.0.1 HaoDD.NET127.0.0.1 www.haodd.com127.0.0.1 www.mtvcc.com127.0.0.1 125m . Bl.am127.0.0.1 ksfd.pledaily.com127.0.0.1 cn.1dnn.com127.0.0.1 syrnn.com127.0.07.0.0.1 ksfd.pledaily.com127.0.0.1 www.8k1.com127. 0.0.1 tz.am5.com127.0.0.1 520y.hk.st127.0.0.1 Ommm.126.com127.0.0.1 www.da123.com127.0.0.1 www.7758520.com127.0.0.1 www. 1314521.com127.0.0.1 www.fm214.com127.0.0.1 kan123.com127.0.0.1 **** mm.2hu.org127.0.0.1 www.yes8888.com127.0.0.1 Qile.NET/QZ127 .0.0.1 www.cc11.com127.0.0.1 www.8812345.com127.0.0.1 Movie.888x.net127.0.0.1 www.94135.com127.0.1 k3b.126.com127.0.0.1 www. .kafei8.com127.0.0.1 goodgirl.2hu.org127.0.0.1 www.zhao123.com127.0.0.1 Web.fs169.net/zhufei/new_pa GE_12.HTM127.0.0.1 www.yysky.com127.0.0.1 music888.ximan.com127.0.0.1 www.eee888.com127.0.0.1 top2008.com/sos/127.0.0.1 www.i-look.com127 .0.0.1 www.mtvxp.com127.0.0.1 www.film3344.net127.0.0.1 www.jcwz.com127.0.0.1 bbll.bl.am127.0.0.1 www.w163.com127.0.0.1 www.w163.com127.0.0.1 www.w163.com127.0.0.1 www .mmm110.com127.0.0.1 www.fun520.com127.0.0.1 www.fun530.com127.0.0.1 www.fassia.net127.0.0.1 www.cnqb.net127.0.0.1 www.mmqm.com127. 0.0.1 www.nicex.126.com127.0.0.1 niceX.126.com127.0.0.1 www.ktv530.com127.0.0.1 approvedlinks.com127.0.0.1 www.lj163.net/dj/127.0.0.1 Www.98138.com127.0.0.1 www.5478.07.0.0.1 SMS888.Vip.sina.com/kodp/index.html127.0.0.1 CoolMov.Net127.0.0.1 www.oo163.com127.0.0. 1 www.9fe.com127.0.0.1 somtv.8u8.com127.0.0.1 www.ww520.com127.0.0.1 www.ww520.com127.0.0.1

转载请注明原文地址:https://www.9cbs.com/read-11555.html

New Post(0)