Ho bua 'nete ho uena, ho hlakola cache ea DNS ho Mac Operating System ho fapane haholo. Hangata ho itšetlehile ka mofuta oa OS oo u o sebelisang. Ho na le mekhoa e mengata e fapaneng eo batho ba ka e sebelisang ho hlakola cache ea DNS ho Mac OS kapa macOS.
Qalong, o hloka ho tseba hore cache ea DNS e ka boloka liaterese tsohle tsa IP tsa liwebsaete tseo u tla li sebelisa. Ka ho hlakola cache ea hau ea DNS, o ka etsa hore boiphihlelo ba hau ba ho bala bo sirelelitsoe ebile bo be bonolo. Ho feta moo, o tla khona ho rarolla liphoso ka thuso ea DNS cache flushing. Ho boloka cache ea DNS e ka ba mokhoa o motle oa ho khothaletsa likhokahano tse potlakileng le tse potlakileng. Ka 'nete, ho na le mabaka a mangata a ka etsang hore u lumele ho hlakola cache ea hau ea DNS.
Ka thuso ea cache ea DNS, o ka kenyelletsa lirekoto tse fosahetseng, le likenyo tseo u li entseng ka liwebsaete tseo u li balileng le li-portal tsa inthanete. Ka lehlakoreng le leng, ho hlakola cache ea DNS ho tla tlosa ka bohona lirekoto tse sa sebetseng hammoho le likenyo.
- Joalo ka ha u se u tseba, marang-rang a hloka sistimi ea mabitso a domain eo haufinyane e tsejoang ka hore ke DNS bakeng sa ho boloka index ea liwebsaete tsohle hammoho le liaterese tsa bona tsa IP.
- Cache ea DNS e ka leka ho eketsa lebelo la ts'ebetso.
- E ka sebetsana le qeto ea mabitso ea liaterese tse sa tsoa eteloa pele kopo e romelloa inthaneteng.
Sena se tla fella ka ho thusa komporo ea hau ho tlatsa liaterese tseo hape nakong e tlang ha e leka ho kena liwebsaeteng. Ho na le phapang lipakeng tsa ho benya cache ea lehae ea DNS ea Microsoft Windows OS le macOS. Ha litsamaiso tsa hau li leka ho lekanya mokhoa oa ho kenya liwebsaete, li tla feta cache ea DNS. Ka mantsoe a bonolo, cache ea DNS e fetoha ntho ea bohlokoa ho li-lokups tse fetileng tsa DNS tseo komporo ea hau e tla bua ka tsona maemong a boletsoeng.
DNS Cache ke Eng
DNS Cache ke polokelo ea nakoana ea tlhahisoleseling e tsamaisoang ke sistimi e sebetsang ea komporo. Cache ea DNS e kenyelletsa ho sheba ho DNS e fetileng ho libatli tsa marang-rang kapa lits'ebetsong tsa mochini. Cache ea DNS e boetse e tsejoa e le cache ea DNS solver. Ho feta moo, cache ea DNS e kenyelletsa lirekoto tsohle tsa lipatlisiso tse fetileng le mehala e lekiloeng libakeng tsa marang-rang le liwebosaete tse ling.
Morero o ka sehloohong oa ho hlakola cache ea DNS ke ho rarolla mathata a khokahanyo ea Marang-rang hammoho le ho rarolla bothata ba chefo ea cache. Ts'ebetso ena e tla kenyelletsa ho tlosa, ho hlophisa bocha, le ho hlakola cache ea DNS.
Ke hlakola Cache ea ka ea DNS joang ho Mac (Ka letsoho)
Hajoale, u atlehile ho hokahanya lintlha tse ling tsa bohlokoa mabapi le cache ea DNS ho sistimi efe kapa efe. Ua tseba hore na cache ea DNS e ka ba molemo hakae le hore na ke hobane'ng ha ho hlokahala ho e tlosa. Joalokaha ho boletsoe, ho na le mekhoa e fapaneng eo batho ba tla e sebelisa ho hlakola cache ea DNS.
Ka holim'a mekhoa eohle, mokhoa oa flush oa letsoho o ratoa ke litsebi. Haeba kaofela le se le ikemiselitse ho hlakola cache ea DNS ho Mac OS ka letsoho, o ka sheba lintlha tse latelang hona joale:
Mokhoa oa 1
Ona ke mokhoa oa pele o bonolo oo u tla o sebelisa ho hlakola cache ea DNS ho Mac. Ha ho hlokahale hore u ferekane le mekhoa efe kapa efe e rarahaneng. Joalo ka mosebelisi, o ka latela mehato e thathamisitsoeng ka tlase le kamora e 'ngoe ka hloko.
- Etsa lits'ebetso: ho Mac OS ea hau, o hloka ho tsamaisa lits'ebetso tse tla qala ho hlakola ts'ebetso ea cache ea DNS.
- E-ea ho Lisebelisoa: ka mor'a ho sebelisa lits'ebetso joale u tlameha ho ea lits'ebeletso.
- Fumana khetho ea "terminal": hang ha u fumana lisebelisoa, u tla tlameha ho fumana mofuta o mong oa terminal.
- Ngola taelo ea pele "dscacheutil -flushcache": hang ha u fumana khetho ea terminal hona joale, u tlameha ho thaepa taelo ea pele.
"dscacheutil –flushcache”
ntle le ho botsa mang kapa mang. - Sebelisa taelo ea bobeli "sudo killall -HUP mDNSResponder": ka ho tšoanang u ka sebelisa taelo ea bobeli.
"sudo killall -HUP mDNSResponder"
.
Ka thuso ea mehato ena e bonolo, o tla khona ho hlakola DNS ho macOS ka nako e khuts'oane. Le uena u ke ke ua tobana le mathata a mofuta ofe kapa ofe ha u batla ho hlakola DNS ho Mac ka thuso ea mehato e boletsoeng ka holimo. Ka ts'epo, mokhoa ona o bonolo o tla u sebeletsa neng kapa neng ha u tlameha ho hlakola cache ea DNS ho macOS.
Mokhoa oa 2
Joalo ka Mokhoa oa 1 o boletsoeng pejana hona joale, o ka nahana ka mokhoa oa bobeli oa ho tlosa cache ea DNS ho Mac OS. Mona ke lintho tseo u hlokang ho li etsa ho hlakola DNS ho Mac habonolo.
1. Fumana Terminal
Ka ho tsamaisa lits'ebetso, u tla tlameha ho fumana mofuta o mong oa terminal joalo ka ha ho boletsoe.
2. Ikemisetse ho MDNS le UDNS
U hloka ho ikemisetsa ho MDNS le UDNS hona joale.
3. Ho hloekisa DNS
Hang ha o ea lits'ebetsong mme o fumana terminal, o hloka ho sebelisa litaelo tse latelang hammoho le ho tobetsa konopo ea Enter.
4. Sebelisa Mac OS X Snow Leopard Sudo dscacheutil -flushcache taelo
Taelo ena e tla u thusa ho hlakola DNS ho Mac OS ntle le lipelaelo tsa mofuta ofe kapa ofe, kahoo e sebelise neng kapa neng ha ho hlokahala.
Ntle le lipelaelo tsa mofuta ofe kapa ofe, o hloka feela ho e sebelisa
“sudo discoveryutil mdnsflushcache; sudo discoveryutil udnsflushcaches; say flushed”
laela. Ka thuso ea taelo ena, u tla khona ho hlakola cache eohle ea DNS hammoho le ho seta cache ea DNS bocha.
Mokhoa oa ho hlakola Cache ea DNS ho Mac (Tsela e Molemohali)
Haeba u sa tloaelane le litsela tse ka holimo, kapa u tšaba ho lahleheloa ke ya data ka phoso, u ka sebelisa MacDeed Mac Cleaner ho u thusa ho hlakola cache ea DNS ka ho tobetsa e le 'ngoe. E ke ke ea etsa kotsi ho macOS ea hau mme ho bonolo haholo ho e sebelisa.
- Khoasolla Mac Cleaner ebe u e kenya.
- Qala Mac Cleaner, 'me u khethe "Maintenance" ka ho le letšehali.
- Khetha "Flush DNS Cache" ebe o tobetsa "Run".
Ka ho tobetsa e le 'ngoe feela, o ka hlakola cache ea DNS ho Mac/MacBook/iMac ea hau ka mokhoa o sireletsehileng. Ka thuso ea Mac Cleaner, u ka khona hloekisa lifaele tsa junk ho Mac , lokisa tumello ea disk, hlakola nalane ea sebatli ho Mac , le tse ling. Ntle le moo, Mac Cleaner e lumellana hantle le Mac OS eohle, joalo ka macOS 13 (Ventura), macOS 12 Monterey, macOS 11 Big Sur, macOS 10.15 (Catalina), joalo-joalo.
Qetello
Qetellong, ho hlakile hore ho hlakola DNS ho Mac ha ho thata hakaalo. Haeba u tla latela tataiso le mehato e nepahetseng, u ka hlakola DNS habonolo ho Mac ea hau. Ho hlakola DNS tsamaisong efe kapa efe e itseng ho netefatsa boiphihlelo bo se nang khatello ea maikutlo le bo monate ba ho tsamaisa marang-rang ho libatli tse tsebahalang tsa marang-rang le li-portal tse ling tsa marang-rang.