Domain Name System

Thesynonymdns(DomainNameSystem)generallyreferstothedomainnamesystem.

Základní úvod

TheDomainNameSystem(DNS)isasystemfornamingonlinemachinesontheInternet.Justlikevisitingafriend,youmustfirstknowhowotherpeople'shomesgo.WhenahostwantstoaccessanotherhostontheInternet,itmustfirstknowitsaddress.TheIPaddressinTCP/IPisanumberseparatedbyfour"."Composition(heretakingIPv4addressasanexample,IPv6addressisthesame),rememberingisalwaysnotasconvenientasname,sothedomainnamesystemisusedtomanagethecorrespondencebetweennameandIP.

AlthoughthenodesontheInternetcanbeuniquelyidentifiedbyIPaddressesandcanbeaccessedthroughIPaddresses,evenifthe32-bitbinaryIPaddressiswrittenasfourtensof0to255,It'sstilltoolongandhardtoremember.Therefore,peopleinventedthedomainname(DomainName),whichcanassociateanIPaddresswithasetofmeaningfulcharacters.Whenauservisitsawebsite,hecaneitherenterthewebsite’sIPaddressoritsdomainname.Foraccess,thetwoareequivalent.Forexample:theIPaddressofMicrosoft'sWebserveris207.46.230.229,anditscorrespondingdomainnameiswww.microsoft.com.Regardlessofwhethertheuserenters207.46.230.229orwww.microsoft.cominthebrowser,theycanaccessitsWebwebsite.

Acompany’sWebsitecanberegardedasitsportalontheInternet,andthedomainnameisequivalenttoitshouseaddress.Usuallythedomainnameusesthecompany’snameorabbreviation.Forexample,thedomainnameofMicrosoftmentionedaboveissimilarto:IBM'sdomainnameiswww.ibm.com,Oracle'sdomainnameiswww.oracle.com,Cisco'sdomainnameiswww.cisco.com,etc.Whenpeoplewanttovisitacompany'sWebsitewithoutknowingitsexactdomainname,theywillalwaysenterthecompanynameasatestfirst.However,adomainnameconsistingofacompany'snameorabbreviationmayalsoberegisteredbyothercompaniesorindividuals.Thereareevensomecompaniesorindividualsmaliciouslyregisteringalargenumberofdomainnamesconsistingofthenamesofwell-knowncompanies,andthenresellingthemtothesecompaniesathighpricesforprofit.Therehavebeensomearbitrationmeasuresfordomainnameregistrationdisputes,buttocontrolsuchphenomenafromthesource,acompletesetofrestrictionmechanismsisneeded.Thisisnotyetthere.Therefore,registeringadomainnameconsistingofone'sownnameassoonaspossibleshouldbesomethingthatanycompanyororganization,especiallythosefamouscompanies,mustpayattentionto.Somecompanieshavealreadydoneaprotectiveregistrationofdomainnamescomposedoftheirownfamousbrands.

Jmenný prostorsystému doménových jmen

Hierarchická struktura jmenného prostoru

Thenamespacereferstothecollectionofallpossiblenamesdefined.Jmenný prostorsystému doménových jmenishierarchical,similartoWindowsfilenames.Itcanberegardedasatreestructure.Thedomainnamesystemdoesnotdistinguishbetweennodesandleafnodesinthetree,butcollectivelyreferredtoasnodes.Differentnodescanusethesamemark.Themarkofallnodescanonlybecomposedof3typesofcharacters:26Englishletters(a~z),10Arabicnumerals(0-9)andEnglishhyphen(-),andthelengthofthemarkshallnotexceed22characters.Thedomainnameofanodeiscomposedofthemarkedconnectionsofallnodesfromthenodetotheroot,separatedbydots.Thedomainnameofthetop-levelnodeiscalledthetop-leveldomainname(TLD,Top-LevelDomain),thedomainnameofthesecond-levelnodeiscalledthesecond-leveldomainname,andsoon.

Distribuce a správa doménových jmen

DomainnamesaremanagedbytheInternetCorporationforAssignedNamesandNumbers(ICANN,InternetCorporationforAssignedNamesandNumbers),whichisresponsiblefordomainnamesystemmanagementandIPaddressmanagement.Anon-profitorganizationestablishedforfunctionssuchasallocation,protocolparameterconfiguration,andmainserversystemmanagement.ICANNhassetupcorrespondingtop-leveldomainnamesfordifferentcountriesorregions,andthesedomainnamesusuallyconsistoftwoEnglishletters.Forexample:.ukfortheUnitedKingdom,.frforFrance,and.jpforJapan.Thetop-leveldomainnameinChinais.cn,andthedomainnamesunder.cnaremanagedbyCNNIC.

CNNICstipulatesthatthesecond-leveldomainnamecannotbeappliedforunderthe.cndomain,andthelengthofthethird-leveldomainnamemustnotexceed20characters,andthefollowingrestrictionsareimposedonthename:

①Registrace obsahuje „Doménové názvy se slovy „ČÍNA“, „ČÍNSKÝ“, „CN“ a „NÁRODNÍ“ musí být formálně schváleny příslušnými národními odděleními (s odkazem na jednotky nad ministerskou úrovní).

②Thenamesofothercountriesorregions,foreigngeographicalnames,andinternationalorganizationnamesknowntothepublicshallnotbeused.

③Theuseofthefullnameorabbreviationoftheadministrativedivisionnameabovethecountylevel(includingthecountylevel)mustbeformallyapprovedbytherelevantpeople'sgovernmentatorabovethecountylevel(includingthecountylevel).

④Průmyslový název ani obecný název produktu se nesmí používat.

⑤Název podniku sorbnázvy, které byly zaregistrovány v Číně jinými, se nesmí používat.

⑥Namesthatareharmfultothecountry,society,orpublicinterestshallnotbeused.

⑦Formallyapprovedbyrelevantstatedepartments(referringtounitsatorabovetheministeriallevel)andformallyapprovedbytherelevantpeople’sgovernmentsatorabovethecountylevel(includingcountylevel),itmeansthattherelevantagenciesmustissuewrittendocumentstoexpresstheirconsent.××××Unitregistration×××domainname.Forexample,ifyouwanttoapplyforthedomainnamebeijing.com.cn,youmustprovidetheapprovaloftheBeijingMunicipalPeople'sGovernment.

Domény nejvyšší úrovně

Kromě uvádění názvů domén nejvyšší úrovně v různých zemích, ICANNpůvodně definovaných 7 názvů domén nejvyšší úrovně, kterými jsou.com,.top,.edu,.gov,.mil,.net,.org;.com,.se.používá. .org se používá pro neziskové organizace.

S rozvojem internetu přidal ICANN dvě kategorie a celkem 7 názvů domén nejvyšší úrovně, jmenovitě.aero,.biz,coop,.info,.muzeum,.name,.pro.Mezi nimi,.aero,.coop,a.muzea.používají.aero,.coop a.museum. ;.biz,.info,.jméno,.Prois4generictop-leveldomény:.bizznamená podnikání,.jméno znamenáosobní,.promeansúčetní,právníci,lékaři atd.,a.infonemají konkrétní směr.

Složenísystému doménových jmen

Resourcefile

IntheearlydaysoftheInternet,therewereonlyhundredsofhosts.Atthattime,thecorrespondencebetweendomainnamesandIPaddresseswassimplyrecordedinInahosts.txtfile,thisfileismaintainedbytheNetworkInformationCenter(NIC).AnyadministratorwhowantstoaddahostontheInternetshouldE-mailitsnameandaddresstotheNIC,andthiscorrespondencewillbemanuallyaddedtothehosts.txtfile.EachhostadministratorgoestotheNICtodownloadthelatesthosts.txtfileandputitontheirhost,andcompletestheupdateofthedomainnamelist.Rozlišení názvu doményisjustalocalprocessofcheckinglocalfiles.

WiththeexpansionofthenumberofhostsontheInternet,theoriginalmethodhasbeenunabletomeettherequirements.Theexistingdomainnamesystemwasputintouseinthe1980s.Thedomainnamesystemusesahierarchicalnamespace,andtheoriginalhugecorrespondencetableisdecomposedintodisjointsub-tablesdistributedintheInternet.Thesesub-tablesarecalledresourcefiles.

Rozlišení

Thehierarchicalstructureofthedomainnamesystemnamespacehasbeenexplainedabove,let’stakealookathowthisstructureisthesameasthedomainnameserver(DNS,DomainNameServer)ofthedomainnamesystem.Combinedtoachievedomainnameresolution.

First,accordingtothehierarchicalstructureofthedomainnamesystemdomainnamespace,itisdividedintodifferentareasaccordingtosubtrees.Eachareacanberegardedasamanageablepowerentityresponsibleforthispartofthenodeinthehierarchy.Forexample,thetop-levelareaof​​theentiredomainismanagedbyICANN,andsomenationaldomainnamesandtheirsubordinatenodesconstitutetheirrespectiveareas.Forexample,the.cndomainismanagedbyCNNIC.The.cndomainisdividedintosmallerareas.Forexample,.fudan.edu.cnismanagedbytheFudanUniversityNetworkCenter.

Secondly,eachareamusthaveacorrespondingdomainnameserver,andtheinformationcontainedineachareaisstoredonthedomainnameserver.Therecanbetwoormoredomainnameserversinanarea,sothatevenifonedomainnameserverfails,theotherdomainnameservercanstillprovideinformationnormally.Adomainnameservercanalsomanagemultipleregionsatthesametime.Thedomainnameserverqueriesitsownresourcerecordcollectionafterreceivingtherequestfromtheuser,andreturnsthefinalanswerthattheuserwantstoget,orwhentherequiredanswerisnotfoundinitsownresourcerecordcollection,itreturnsapointertoanotherdomainnameserverPointer,theuserwillcontinuetomakerequeststothatdomainnameserver.Therefore,thedomainnameserverdoesnotneedtorecordtheinformationofallsubdomainsandhosts.Forthesubdomain(ifitexists),itonlyneedstoknowthedomainnameserverofthesubdomain.

Resourcerecordisadomainnametovaluebinding,whichincludesthefollowingfields:domainname,value,type,classification,andlifetime.Thedomainnamefieldandthevaluefieldareusedtoindicatethecontentoftheanalysisandtheresultoftheanalysis,respectively.Thetypefieldrepresentsthetypeofvalue:typeArepresentsthevaluefieldisanIPaddress,thatis,thefinalanswertheuserwants;typeNSrepresentsthevaluefieldisthedomainnameofanotherdomainnameserver,thedomainnameservercanknowhowtoresolvethedomainnamefieldThespecifieddomainname;thetypeisCNAME,thevaluefieldisanaliasofthehostspecifiedbythedomainname;thetypeisMX,thevaluefieldisthedomainnameofamailserverthatreceivesmailfromthedomainspecifiedbythedomainnamefield;thetypeisPTRUsedfordomainnamereversesolution,etc.Theclassificationfieldallowsotherrecordtypestobespecified.Thelifetimefieldisusedtoindicatethevalidityperiodoftheresourcerecord.Inordertoreducethedomainnameresolutiontime,thedomainnameserverwillcachesomeresourcerecordsfromotherdomainnameserversthathavebeenqueried.Becausetheseresourcerecordswillbecomeinvalidduetochanges,thedomainnameserverhassetalifetime,andexpiredresourcerecordswillbeclearedoutofthecache.

Therootdomainnameserverknowsthedomainnameserversofalltop-leveldomainnames,andcorrespondstoeachtop-leveldomainname.Ithastworesourcerecords:oneisanNSresourcerecord,thedomainnamefieldisthetop-leveldomainname,andthevaluefieldistheThedomainnameofthedomainnameserverresolvedbythetop-leveldomainname;theotherisAresourcerecord,whichisusedtoindicatetheIPaddresscorrespondingtothedomainnameofthedomainnameserver.Usingthesetworecordstogether,youcanknowwhichIPaddressthedomainnameservershouldcontinuetosearchforwhenresolvingacertaindomainnameunderthedomain.Thesecond-leveldomainnameserversimilarlystoresthepointersofeachthird-leveldomainnameserver.Thethird-leveldomainnameserverwillappearA,CNAME,MXandothertypesofresourcerecords.Eachdomainnameserverhasarecordoftheaddressoftherootdomainnameserver.

Finally,auserwhoneedsdomainnameresolutionfirstsendstheresolutionrequesttothelocaldomainnameserver.Ifthelocaldomainnameservercanresolve,theresultwillbeobtaineddirectly,otherwisethelocaldomainnameserverwillsendarequesttotherootdomainnameserver.Accordingtothepointerreturnedbytherootdomainnameserver,thedomainnameserverofthenextlayerisqueried,andsoon,andfinallytheIPaddressofthedomainnametoberesolvedisobtained.

Zpětné rozlišení názvu domény

Zpětné rozlišení názvu doményreferstogivinganIPaddressandfindingoutitscorrespondingdomainname,whichisalsorealizedbyusingDNS.Forexample,supposeanIPaddresstobereversedis202.120.225.9,andthesystemrewritesitto9.225.120.202.in-addr.arpa,andthenqueriesitbymeansofdomainnameresolution.Thisrequiresaresourcerecordcorrespondingto9.225.120.202.in-addr.arpaonthelocaldomainnameserverofthequeriedhost,thetypeisPTR,andthevalueisitsdomainname.

Čínský web a název čínské domény

Čínský web

BecausetheInternetoriginatedintheUnitedStates,domainnamesarealsocomposedofEnglishletters.ForthisEnglishrepresentation,TheChinesearenotusedtoit,anditisdifficulttointegrate.Infact,thenamesofChinesecompaniesororganizationsregisteredonlineareoftenverydifferentfromtheirrealnames.Forexample,everyoneknowsthe"LiberationDaily",buttherearenotmanywhoknowitsdomainnamewww.jfdaily.com.ThetraditionaleconomyismergingwiththeInternet.Ifcustomerscannotdirectlyguesstheirdomainnamesbasedoncompanynamesandbrands,thenthecompany’soriginalbrandadvantagescannotbedirectlyextendedtotheInternet.ThisismostChinesecompanies,evenforeigncompaniesenteringthedomesticmarket.Anembarrassingproblemthatwillalwaysbeencountered.Evenmoreembarrassingisthat,inordernottobemaliciouslyregisteredorimpersonated,andtherebyaffectitsownimage,acompanymayhavetoregistermanysimilardomainnamesatthesametime,suchaswww.jiefangdaily.com,www.liberationdaily.com,etc.Thiswillbeasumofmoney.Alotofoverhead.

Inviewofthis,ChinahasbeguntoexploretheChinesecultureofnetworkaddresses.In1999,www.3721.comfirstputforwardtheconceptofČínský webinChina.UsingChineseURLs,usersnolongerneedtomemorizecumbersomeandlengthyEnglishdomainnameswhenvisiting,andtheydon'tneedtoenterwww.,.comandothersuffixes.ChinesecompanynamesorproductnamescanbedirectlyusedasURLs,whichgreatlyexpandsthebrand'sInfluence.Forexample,youcandirectlyuse"People'sDaily","XinhuaNewsAgency","TombRaider"andsoon.www. 3721.com dále zavedl skutečný název online, který poskytuje čtyři přístupové metody: čínská adresa URL, anglická adresa URL, pinyin URL a digitální adresa URL.

YouneedtoinstallaclientsoftwaretousetheČínský web.Afterrunningthesoftware,aslongasyouentertheChinese,Pinyinprefix,oreventhestockcodeintheaddressbarofthebrowser,youcandirectlyreachthecorrespondingwebpagewithoutgoingtoanywebsitetosearch.

ChineseDomainNames

Inearly2000,CNNIClaunchedaChinesedomainnameregistrationtestsystem.TheMinistryofInformationIndustryissuedthe"NoticeontheManagementofChineseDomainNamesontheInternet"inNovember2000,whichregulatestheregistrationsystemofChinesedomainnames.InFebruary2001,CNNICannouncedonitswebsitethatthetop-levelChinesedomainnameserverhadbeguntoprovideresolutionservices.

CNNIC’sChinesedomainnamewillprovidetwosolutionsatthesametime:oneisaChinesedomainnameendingin.cn,andtheotherisapureChinesedomainname,whichisshapedlikeInformationCenter.NetworkandLenovo.Company.TheperiodcanalsobereplacedbyaperiodinChinese.Theentiresystemiscompatiblewiththeexistingdomainnamesystem,andsupportscompleteinteroperabilityanalysisinsimplifiedandtraditionalChinese.Inaddition,aftertheregistrationoftheChinesedomainname,itcanalsosupportapplicationservicessuchasChinesee-mailaddressfunctionandChinesevirtualhost.

Porovnání čínských URL a čínských názvů domén

ChineseURLsandChinesedomainnamesarebothsolutionstosolvetheChinesepeople’sunsuitabilitytoexpressinEnglishontheInternet.Thetwolooksimilar,buttheyarequitedifferentinnature.Firstofall,theČínský webisbasedonthedomainname.Forexample,ifyouwanttotakeataxitoCCTV,youcantellthedriveritshousenumber,whichisequivalenttoadomainname,oryoucandirectlytellthedriver"I'mgoingtotheTVstation",whichislikeawebsite.Butitisundeniablethatthehousenumberisthebasis,andthe"televisionstation"directlymentionedisanickname.Secondly,intermsofthehierarchicalstructure,theChineseURLisaparallelstructure,andthereisnoconceptualdistinctionbetweendomainsandsubdomains;whileChinesedomainnamesmaintainthehierarchicalcharacteristicsofdomainnames.AlargeorganizationcanestablishaChinesedomainnamesystemforitsvariousdepartments,suchas:Acertainmajor.Acertaindepartment.Acertainuniversity.China.Finally,Chinesedomainnamescansupportotherapplicationservices,suchasE-mail,etc.,whileChineseURLsaresuitableforintelligentsearch.

Provoz struktury

Systém názvů internetových domén má stromovou strukturu s následujícími formuláři: com (podnik), síť (síťová provozní servisní agentura), gov (vládní agentura), org (neziskové organizace) a domény (vzdělávání) jsou spravovány společností InterNic a jejich registraci a provoz má na starosti NetworkSolution.

Nová doménová jména nejvyšší úrovně

Thesevennewtop-leveldomainnamesare:firm(corporateenterprise),shop(store),web(entitythatwantstohighlightWorldWideWebactivities),arts(mainEntitiesengagedinentertainmentandculturalactivities),rec(mainlyengagedinentertainmentandculturalentities),info(mainlyengagedininformationserviceentities),nom(somepeoplewhowishtopublishpersonalinformationontheInternet)willbelaunchedin1998.ThesedomainnameregistrationservicesItisundertakenbyanumberofinstitutions,andCNNICisalsofortunatetobeoneoftheregistrationinstitutions;thenationaldomainnamesformulatedinaccordancewiththeISO-3166standardaregenerallyoperatedbytheNIC(NetworkInformationCenter,NetworkInformationCenter)ofeachcountry.mycountry'sdomainnamesystemisdividedintotwosetsofcategorydomainnamesandadministrativeareanames.

Název_domény kategorie

Název_domény kategoriereferstothefirstsixinthebottomlineofthefigure.

Doménové názvy se dělí na:AC-vědecké výzkumné instituce;COM,TOP-průmysl,obchod,finance a další velké společnosti;EDU-vzdělávací instituce;GOV-vládní oddělení;NET-Internet,Informační centrum a provozní centrum připojené k síti;ORG-různé neziskové organizace.

Názvy administrativních oblastí

Názvy administrativních oblastíaredividedaccordingtothevariousadministrativeareasinourcountry,andtheirclassificationstandardsaredeterminedaccordingtothenationalstandardsissuedbytheStateTechnicalSupervisionBureau,including"administrativeareanames"34One,applicabletoallprovinces,autonomousregions,andmunicipalitiesinChina,namely:BJ-Beijing;SH-Shanghai;TJ-Tianjin;CQ-Chongqing;HE-HebeiProvince;SX-ShanxiProvince;NM-InnerMongoliaAutonomousRegion;LN-LiaoningProvince; JL-JilinProvince;HL-HeilongjiangProvince;JS-JiangsuProvince;ZJ-ZhejiangProvince;AH-Anhui;FJ-FujianProvince;JX-JiangxiProvince;SD-ShandongProvince;HA-HenanProvince;HB-HubeiGProvince;HubeiGX;Province HB-HubeiG; GuangxiZhuangAutonomousRegion;HI-HainanProvince;SC-SichuanProvince;GZ-GuizhouProvince;YN-YunnanProvince;XZ-TibetAutonomousRegion;SN-ShaanxiProvince;HHKiProvince Gansu;Provincie Gansu;QH-QingousReg.Reg.Region-JongHouxReg. MO-Macao.

CNdomainnamesareoperatedbyCNNICexceptedupointcnwhichisoperatedbyCernNic(educationnetwork).

formuláře

Thereareusuallytwoformsofdomainnameservers:domainnameserversandcachedomainnameservers.

DomainNameServer

Adomainnameserverisrequiredinthefollowingsituations:youwanttoprovideDNSinformationtotheworldandgiverequests.Registeredadomainsimilartoexampleorg,andyouneedtoassigntheIPtothehostnameunderit.AcertainIPaddressblockrequiresareverseDNSentry(IPtohostname).Thebackupserver,ortheslaveserverasitisoftencalled,willrespondtoqueryrequestswhenthemasterserverhasproblemsorcannotbeaccessed.

CacheDomainNameServer

Thefollowingsituationsrequireacachedomainnameserver:ThelocalDNSservercancacheandgetaresponsefasterthandirectrequeststoexternaldomainnameservers.

Whensomeonequerieswww.FreeBSDorg,theresolverusuallysendsarequesttothedomainnameserverofthesuperiorISPandgetsaresponse.IfthereisalocalcachingDNSserver,thequerywillonlybesenttotheoutsideworldbythecachingDNSserverforthefirsttime.OtherquerieswillnotbesentoutsidetheLANbecausetheyalreadyhavealocalcache.

Rozlišení názvu domény

Přehled

Justlikewhenwevisitapersonforthefirsttime,weneedtoknowthehousenumberoftheperson’shouse,andthenlookforitaccordingtotheaddress.ItisnotenoughtoknowthedomainnameofacertainmachineontheInternet.Theremustbeawaytofindthatmachine.ThetaskoffindingthismachineiscompletedbyadevicecalledadomainnameserverontheInternet,andtheprocessofcompletingthistaskiscalleddomainnameresolution.

Proces

WhenamachineasendsadomainnameresolutionrequesttoitsdomainnameserverA,ifAcanresolveit,itwillsendtheresolutionresulttoa,otherwise,AwillsendittoitTheupper-leveldomainnameserverBsendsaresolutionrequest.IfBcanresolve,theresolutionresultissenttoa.IfBcannotresolve,therequestissenttotheupper-leveldomainnameserverC,andsoon,untiltheresolutioniscomplete.

Server

ThefullnameofDNSisDomainNameServer,aprogramthatsavesadomainname(domainname)andthecorrespondingIPaddress(IPaddress)Tabletoresolvethedomainnameofthemessage.AdomainnameisthenameofacomputerorcomputergroupontheInternet.Itisusedtoidentifythecomputer'selectroniclocation(sometimesalsoreferredtoasgeographiclocation)duringdatatransmission.Adomainnameiscomposedofaseriesofnamesseparatedbydots.Itusuallycontainsthenameoftheorganizationandalwaysincludesatwotothreelettersuffixtoindicatethetypeoforganizationorthecountryorregioninwhichthedomainislocated.

ThereasonwhydomainnameresolutiondoesnottakealongtimeisbecauseInternetaccessproviders,suchasBeijingTelecomandHenanTelecomthroughSunshineDNS,areusedtospeedupusers’accesstowebpages.DNSrecordsofmanydomainnamesarecachedintheDNSserver,andthennetworkallocationismadeaccordingtotheuser'slocation.Inthisway,whenauserofthisaccessproviderwantstoopenacertainwebpage,theaccessprovider’sserverdoesnotneedtoquerythedomainnamedatabase,butdirectlyusestheDNSrecordsinitscache,thusspeedinguptheuser’saccesstothewebsite.Thisisitsgreatestadvantage.

ThedisadvantageisthatthecacheoftheInternetaccessprovider’sISPwillbestoredforaperiodoftimeandwillonlybeupdatedwhenneeded,andthereisnostandardforthefrequencyofupdates.SomeISPsmayupdateonceanhour,andsomemayonlyupdateonceadayortwo.

Sothenewlyregistereddomainnameisgenerallyfastertoresolve.BecauseallISPsdonothavecaches,ISPshavetoquerythedomainnamedatabasetoobtainthelatestDNSdatawhenusersvisit.

IftheDNSrecordoftheolddomainnameischanged,thecacheddataofISPsaroundtheworldisnotupdatedimmediately.Inthisway,fordifferentusersunderdifferentISPs,somecanobtainnewDNSrecordsrelativelyquickly,andsomehavetowaitforthenextupdateoftheISPcache.

Související články
HORNÍ