hosts文件位置、hosts文件是什么?hosts文件修復(fù)方法
(1)什么是Hosts文件?
Hosts是一個(gè)沒有擴(kuò)展名的系統(tǒng)文件,可以用記事本等工具打開,其作用就是將一些常用的網(wǎng)址域名與其對(duì)應(yīng)的IP地址建立一個(gè)關(guān)聯(lián)“數(shù)據(jù)庫”,當(dāng)用戶在瀏覽器中輸入一個(gè)需要登錄的網(wǎng)址時(shí),系統(tǒng)會(huì)首先自動(dòng)從Hosts文件中尋找對(duì)應(yīng)的IP地址,一旦找到,系統(tǒng)會(huì)立即打開對(duì)應(yīng)網(wǎng)頁,如果沒有找到,則系統(tǒng)再會(huì)將網(wǎng)址提交DNS域名解析服務(wù)器進(jìn)行IP地址的解析。
(2)為什么進(jìn)行Hosts 文件修復(fù)?
很多病毒會(huì)修改Hosts文件,例如:把Baidu、Google等常用地址均指向病毒網(wǎng)站,只要你上網(wǎng)搜索,自然會(huì)中毒!也會(huì)利用修改Hosts文件把購物、銀行等網(wǎng)站指向釣魚網(wǎng)站,盜取您的賬號(hào)密碼。更有甚者,病毒會(huì)通過修改Hosts使您無法訪問殺毒軟件官網(wǎng),無法下載殺毒軟件進(jìn)行查殺,所以Hosts文件修復(fù)非常重要。
hosts文件位置:
windows 系統(tǒng):C:\WINDOWS\system32\drivers\etc
hosts 文件內(nèi)容:
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
如果你懷疑你的hosts文件 被病毒 木馬修改,可復(fù)制以上內(nèi)容修復(fù)hosts 文件。
如果你是windows 7系統(tǒng),請(qǐng)看:windows 7中hosts文件被修改怎么修復(fù):
關(guān)鍵詞:hosts,hosts文件
閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!
- 0
- 0
- 0
- 0
- 0
- 0