Sida loo tafatiro faylka Hosts ee Windows

Faylka martida loo yahay waa fayl qoraal ku salaysan oo ku yaal meel isku mid ah dhammaan noocyada casriga ah ee Windows . Dadka intooda badan weligood uma baahna inay galaan, laakiin haddii aad sameyso, waxaad u baahan doontaa inaad ogaato sida loo furo oo loo tafatiro faylka martida loo yahay.

Si kastaba ha ahaatee, noocyada qaarkood ee Windows , si toos ah u tafatirka faylka martida looma ogola. Dhab ahaantii, waxaad heli doontaa qalad haddii aad isku daydo inaad kaydiso isbeddellada. Nasiib wanaag, waxaa jira tilmaan fudud oo aad isticmaali karto si aad u saxdo faylka martida loo yahay Windows 10 , 8, 7, Vista , ama XP.

Muxuu Qabaa Faylka Martigaliyayaasha?(What Does The Hosts File Do?)

Ujeedada faylka martida loo yahay wuxuu ahaa asal ahaan waxa ay DNS server-yada(DNS servers) hadda sameeyaan - map friendly domain names to unfriend IP addresses .

Aad ayey uga fududahay in la xasuusto magac domain sida YouTube.com marka loo eego ciwaanka IP sida 172.217.1.238 . Halkii aad ku qori lahayd ciwaanka IP-ga baarka ciwaanka mar kasta oo aad rabto inaad daawato fiidiyowyada YouTube , waxaad gali kartaa oo kaliya magaca domain, iyo server-ka DNS ee aaladdaadu isticmaaleyso ayaa magaca ku dhejin doonta ciwaanka saxda ah si aad u hesho webpage aad u fudud.

Faylka martida loo yahay, maadaama ay u adeegto nooc ka mid ah server-ka DNS , waxay u shaqeysaa si la mid ah. Waxaad geli kartaa ciwaanka IP-ga kaas oo ah in magaca domain la xalliyo. Si kale haddii loo dhigo, waxaad ku amri kartaa kombuyuutarkaaga inuu ku shubo ciwaan IP ka duwan kan server-ka DNS , asal ahaan kuu ogolaanaya inaad sameyso dhowr waxyaalood oo qabow.

Waa maxay sababta loo tafatiro faylka martida loo yahay?(Why Edit The Hosts File?)

Mid ka mid ah sababaha aad u tafatirto faylka martida loo yahay waa haddii aad rabto hab aasaasi ah oo heer sare ah oo aad uga joojin karto boggaga internetka inay ku shubaan kumbuyuutarkaaga(block websites from loading on your computer) . Geli(Enter) ciwaanka IP-ga aan saxda ahayn ama khaldan ee goobta aad rabto inaad xannibto, mar kasta oo aad isku daydo inaad gasho, faylka martida loo yahay ayaa ku shubi doona ciwaanka IP-ga ee aad dooratay. Iyada oo ku xidhan waxa aad dooratay, waxa laga yaabaa in ay gebi ahaanba xannibto mareegaha(ompletely block the website) .

Waxaad isticmaali kartaa isla farsamadan si aad uga dhigto faylka martida loo yahay inay xannibaan goobaha xaasidnimada leh. Xitaa waxaa jira liisaska gelitaanka faylka martida loo yahay ( sida kan(such as this one) ) waxaad soo dejisan kartaa oo aad soo dejin kartaa faylkaaga martida loo yahay si aad u xannibto boqolaal goobood ama xayeysiisyo xaasidnimo leh.

Isticmaalka kale ee faylka martida loo yahay waa in la dedejiyo daalacashadaada shabakadda(speed up your web browsing) . Haddii server-ka DNS ee aad isticmaalayso uu hoos u dhaco ama uusan si dhakhso ah u shaqeynin, adigoo gacanta ku galaya cinwaanka IP-ga iyo khariidadaha magac domain ee faylka martidaada ayaa u ogolaanaya kombuyuutarkaaga inuu helo ciwaannadaas isla markiiba halkii aad ku tiirsanaan lahayd server-ka DNS .

Talo(Tip) : Baro sida loo isticmaalo server ka duwan DNS(how to use alternate DNS servers) si aad u hesho internet degdeg ah.

Goobta Faylka ee Martigeliyaha Windows(Windows Hosts File Location)

Waxaad u baahan tahay inaad ogaato meesha aad aadi karto si aad u hesho faylka martida loo yahay ka hor inta aanad u furin tafatirka. Tani waa goobta faylka martida loo yahay ee Windows 10 iyada oo loo marayo Windows XP :

C:\Windows\system32\drivers\etc

Sida Loo Tafatiro File Hosts(How To Edit The Hosts File)

Faylka martida loo yahay waa fayl qoraal ah, taasoo la macno ah inaad u baahan tahay tafatire qoraal ah si aad isbeddel ugu samayso. Si kastaba ha noqotee, maadaama faylka martida loo yahay uu yahay mid aasaasi ah oo aan u baahnayn inuu wax ka qabto hyperlinks, sawirada, iwm., waxaad isticmaali kartaa tifaftiraha qoraalka aasaasiga ah (ie, looma baahna in la isticmaalo tifaftire buuxa sida Microsoft Word ).

Furitaanka faylka martida loo yahay(Opening The Hosts File)

Aan ku bilowno si fudud u furitaanka(opening) faylka martida loo yahay. Waxaan isticmaali doonaa Notepad , kaas oo lagu dhex dhisay Windows 10 hoos iyada oo loo marayo Windows XP .

  • Fur sanduuqa wada hadalka Run adiga oo hoos haya furaha Windows ka dibna taabo R hal mar.
  • Ku qor notepad ka dibna taabo Gelida(Enter) si aad u furto barnaamijka.

  • Tag Faylka(File ) > Fur(Open) .
  • Sanduuqa qoraalka magaca faylka ee hoose, ku qor (ama koobiy oo dheji) goobta faylka martida loo yahay ee kor ku xusan ka dibna tabo Gelida(Enter) .

  • Dooro liiska ku yaal dhanka midig ee sanduuqa qoraalka si aad u bedesho Text Documents (*.txt) una beddelo All Files (*) .

  • Laba jeer-guji kooxda martida(hosts) loo yahay liiska faylalka si aad u furto faylka martida loo yahay si loogu tafatiro Notepad(Notepad) .

Tafatirka faylka martida loo yahay(Editing The Hosts File)

Waxaa jira dhawr tusaale oo ku jira faylka martida loo yahay si ay kuu tusaan sida loo qaabeeyo galitaankaaga. Waa inaad marka hore gelisaa ciwaanka IP-ga oo ay ku xigto magaca domain-ka, labadana waa in la kala saaraa ugu yaraan hal meel ( tab waa hab wanaagsan oo loo qaabeeyo).

Waa kuwan tusaalayaal:

127.0.0.1 www.google.com
13.249.79.104 www.bing.com

Sida aad ka arki karto sawirka kore oo aad ka akhrido tilmaamaha ku jira faylka martida loo yahay, # calaamadda waxaa loo adeegsadaa faallo ahaan, taasoo la macno ah in wax kasta oo raacaya laga fogaado. Tani waa sababta labada tusaale ee aan kor ku bixinayno ay faa'iido u leeyihiin faylkan martida loo yahay; laguma daba socdo astaantaas.

La Xiriira(Related) : Wax ka beddel faylka martida loo yahay si loogu daro Raadinta DNS Maxalliga ah(Edit Hosts File to Add Local DNS Lookup)

Haddii aad rabto inaad xannibto shabakadaha leh faylka martida loo yahay(block websites with the hosts file) , sida YouTube , Amazon , Google , Reddit.com , iwm, waxaad geli kartaa ciwaanka IP-ga beenta ah sida 0.0.0.0 .

Fiiro gaar(Note) ah: Markaad gasho URL -ka goobta aad rabto inaad ku xidho ciwaanka IP-ga gaarka ah, hubi inaad ka saarto qaybta bilawga oo kaliya ku qor subdomain-ka, sida www ama wax kasta oo ku dhaca goobta aad ku darayso.

Kaydinta faylka martida loo yahay(Saving The Hosts File)

Waa kuwan sida aan u keydin karno faylka martida loo yahay si aan u hubinno inuu shaqeeyo si kasta oo ay tahay nidaamka hawlgalka aad isticmaasho, tafatiraha qoraalka ee aad dooratay, ama sida dejimahaaga Windows loo habeeyey:(Windows)

  • Tag Faylka(File ) > Keydi sidii(Save As) .
  • U beddelo ikhtiyaarka kaydinta sida nooca oo kale una beddel (Save as type)All Files (*) .
  • Dib ugu magacaw faylka hosts.backupfile , ka dibna ku keydi miiskaaga.

  • Xir Notepad(Close Notepad) ka dibna hel faylka martida loo yahay ee aad hadda ku abuurtay desktop-ka. Waxaad rabtaa inaad tirtirto . Kayd magaca(backupfile) qayb ka mid ah oo ka tag kaliya martida loo yahay(hosts) (oo aan lahayn xilli ama qoraal ereyga ka dambeeya).

  • Ka dib markaad taas sameyso, guji meel ka fog faylka oo aad shay kale oo miiska saaran, oo xaqiiji magaca beddelka marka lagu weydiiyo.
  • Nuqul ka samee faylka martida loo yahay
  • Fur goobta faylka martida loo yahay ee aad hore u furnayd (galka iwm(etc) ).
  • Ku dheji faylka martida loo yahay ee aad ka soo minguurisay miiska, oo xaqiiji wixii ku soo dadajin ah haddii aad aragto.



About the author

Waxaan u shaqeeyaa lataliye ahaan Microsoft. Waxaan ku takhasusay horumarinta barnaamijyada mobaylada ee aaladaha Apple iyo Android, waxaanan sidoo kale ka qayb qaataa horumarinta barnaamijyada Windows 7. Waayo-aragnimadayda taleefannada casriga ah iyo Windows 7 waxay iga dhigaysaa musharax ku habboon booskan.



Related posts