Ana buƙatar Tabbatar da DNS Gida ta Amfani da Mai watsa shiri akan OSX?

OSX Mac Terminal

Ofaya daga cikin abokan cinikina ya sake tura gidan yanar gizon su zuwa babban asusun tallatawa. Sun sabunta saitunan DNS na yankinsu don bayanan A da CNAME amma suna fuskantar matsala wajen tantance ko shafin yana warwarewa tare da sabon asusun tallatawa (sabon Adireshin IP).


Akwai 'yan abubuwa da za a kiyaye yayin magance matsalar DNS. Fahimtar yadda DNS ke aiki, fahimtar yadda Registrar dinka yake aiki, sannan fahimtar yadda mai gidan ka yake kula da shigowar yankin su.


Yadda DNS ke aiki


Lokacin da ka buga yanki a cikin mai bincike:


  1. Ana duba yankin a cikin Intanet sunan uwar garken don gano inda ya kamata a aika zuwa buƙatar.
  2. Game da buƙatar yanar gizo na buƙatar yanki (http), uwar garken suna zai maida adireshin IP ɗin zuwa kwamfutarka.
  3. Kwamfutarka za ta adana wannan a gida, wanda aka fi sani da Kache na DNS.
  4. Ana aika buƙatar zuwa ga mai masaukin, wanda ke biye da buƙatar ciki kuma yana gabatar da shafin ka.


Yadda Mai Rijistar yankinku yake Aiki


Bayani akan wannan… ba kowane yanki mai rejista bane yake sarrafa DNS ɗinka. Ina da abokin harka guda daya, alal misali, wanda ke rajistar yankunansu ta hanyar Yahoo! Yahoo! a zahiri baya sarrafa yankin duk da ya bayyana haka a cikin gwamnatin su. Sun sake siyarwa ne kawai Tucows. Sakamakon haka, lokacin da kuka canza zuwa saitunan DNS ɗinku a cikin Yahoo!, Zai iya ɗaukar awanni kafin a sabunta waɗannan canje-canje a cikin real yankin mai rejista.


Lokacin da saitunanku na DNS suka sami sabuntawa, to ana gabatar dasu ne a cikin duk sabar yanar gizo. Mafi yawan lokuta, wannan a zahiri yana ɗaukar secondsan daƙiƙa kaɗan ya faru. Wannan shine dalili daya da yasa mutane zasu biya gudanar DNS. Kamfanonin DNS da aka sarrafa yawanci suna da yawan aiki kuma suna da saurin wucewa… sau da yawa fiye da mai rejista na yankin ku.


Da zarar an sabunta sabobin Intanet, lokaci na gaba da tsarinka zai gabatar da bukatar DNS, sai a dawo da adireshin IP inda aka dauki bakuncin shafinka. NOTE: Ka tuna cewa na ce a lokaci na gaba tsarinka zai gabatar da buƙata. Idan a baya kuka nemi wannan yankin, yanar gizo na iya zama na yau da kullun amma tsarin ku na gida yana iya warware tsohuwar adireshin IP dangane da Kache na DNS ɗinku.


Yadda Mai watsa shiri DNS ke aiki


Adireshin IP ɗin da aka dawo da shi da tsarin gida ya adana ba yawanci ba ne ga rukunin yanar gizo ɗaya. Mai watsa shiri na iya samun dama ko ma ɗaruruwan gidajen yanar gizon da aka shirya akan Adireshin IP ɗaya (yawanci sabar ko kama-da-wane) Don haka, lokacin da aka nemi yankinku daga Adireshin IP, mai masaukinku zai gabatar da buƙatarku zuwa takamaiman wurin fayil ɗin cikin sabar kuma ya gabatar da shafinku.


Yadda za a magance matsalar DNS


Saboda akwai tsarin guda uku anan, akwai kuma tsaruka guda uku don magance matsalar! Da farko, zaku so kawai bincika tsarin yankinku don ganin inda Adireshin IP ɗin yake nunawa a cikin tsarinku:


OSX Terminal Ping


Ana yin wannan a sauƙaƙe ta hanyar buɗe taga Terminal da bugawa:


yankin ping.com


Ko kuma a zahiri za ku iya yin takamaiman binciken sabar suna:


nslookup domain.com


Dubawa ta ƙarshe


Idan kun sabunta saitunan DNS a cikin mai rijistar yankin ku, to kuna son tabbatar da cewa an share cache ɗin ku na DNS kuma kuna so ku sake yin buƙatar. Don share cache na DNS a cikin OSX:


sudo dnscacheutil -flushcache


Terminal Ja ruwa cache na DNS


Kuna iya sake gwadawa ping or nslookup don ganin idan yankin ya warware zuwa sabon adireshin IP a wannan lokacin.


Mataki na gaba shine ganin idan an sabunta sabobin DNS na Internets. Ci gaba Abubuwan DNS mai amfani da wannan, zaku iya samun cikakken rahoton DNS ta hanyar tsarin su wanda yake da kyau sosai. Flywheel yana da babban Checker na DNS a cikin tsarinta inda zasu je nema Google, OpenDNS, Fortalnet, da Hanyoyin Sadarwar Bincike don ganin idan saitunanku sun yaɗu yadda ya kamata a yanar gizo.


Idan kana ganin adireshin IP ɗin da aka nuna shi da kyau a duk faɗin yanar gizo kuma har yanzu rukunin yanar gizon ka bai bayyana ba, za ka iya kewaye sabar Intanet ɗin ka gaya wa tsarinka kawai don aika buƙatar kai tsaye zuwa Adireshin IP. Kuna iya cim ma hakan ta hanyar ɗaukaka fayil ɗin rundunoninku da kuma zubar da DNS ɗinku. Don yin wannan, buɗe Terminal kuma buga:


sudo nano / sauransu / runduna


Terminal Sudo Nano Mai masaukin baki


Shigar da tsarin kalmar shiga sannan danna shiga. Hakan zai kawo fayil din kai tsaye a Terminal don gyarawa. Matsar da siginan yanar gizonku ta amfani da kibanku kuma ƙara sabon layi tare da adireshin IP ɗin wanda sunan yankin ya biyo baya.


Masu Rarraba Terminal Ajiye Fayil


Don adana fayil ɗin, latsa sarrafa-o a kan madannin ka sannan ka koma karban sunan sunan. Fita edita ta latsa sarrafawa-x, wanda zai dawo da ku zuwa layin umarni. Kar ka manta da zubar da ma'ajin ka. Idan rukunin yanar gizon bai fito da kyau ba, yana iya zama matsala ga mahallan ku kuma ya kamata ku tuntube su kuma ku sanar da su.


Bayanin karshe… kar ka manta da dawo da fayil din runduna zuwa asalin sa. Ba kwa son barin shigarwa a can wanda kuke son ɗaukakawa ta atomatik!


Ta bin waɗannan matakan, na iya tabbatar da cewa shigarwar DNS ɗin na a cikin mai rejista sun kasance na yau da kullun, shigarwar DNS ɗin akan Intanet ɗin sun kasance na yau da kullun, cache ta DNS ta Mac ta na zamani, kuma DNS ɗin gidan yanar gizo sun ƙare zuwa yau… yayi kyau mu tafi!

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.