DomainNameServicePage1Oct1999Prof.
WeiserMSTM,OSUTCOM5350DomainNameServiceProf.
Weiserv.
0.
5Introduction:Thislabimplementstheresultsofyourhomeworkassignment.
Becausedifferentsectionofthelabwillhavedifferentconfigurationstoachieve,youwillnotbeledthroughtheexercisestep-by-step,butinstead,willbegivensomehintsanddirectionandbeallowedtousethebuilt-inmenusystemtoaccomplishthegoals.
Objectives:1)Toimplementinhardwarealogicaldesign2)Togetsomehands-onrouterexperience,muckingaroundinsideNetBuilderII's3)ApplyconceptsfromTCOM5123.
Prelab:1)Readthishandout.
2)ReadWeiser,IPSubnetPrimerLecture:Theinstructorwillpresenta20-60minutelecturecoveringselectedaspectsofthislab,andthegoalsthatyoushouldbestrivingtomeetduringtheactualexperiments.
RulesofEngagement:YouwillneedtowaitfordirectionfromtheProfessororTA,indicatingwhichportionofthisexerciseyouaretocomplete.
Everygroupwillhaveapieceofthepuzzletofitin,andwewillendeavortokeepthenetworkfunctioningatalltimesduringthetransition.
Todothis,wewillnotonlyneedtoimplementthedesign,butconsidertheappropriateorderforthechanges.
FirstThingsFirst:Let'stakealookatthefilesthatmakeDNSwork:ThereareseveralbasictextfilesthatprovideinformationtotheDNSdaemon.
Bydefault,Linux,startsasimplecachingDNSdaemonwithsomeverybasicinformation.
Forthemostpartaserver'sDNSknowsaboutitselfandhowtofindtherootnameservers.
Ineffect,whenyoupointaclientattheunmodifiedDNS,ifthetargethostnameisnottheserveritself,theDNSthenqueriesdirectlytotherootnameservers,downthetree,andfinallyreturnstheinformationthatwasdeterminedfromtheauthoritativeserver.
ThegoodthingisthattheinformationisthencachedintheDNS.
Bydoingthis,asitethatisfrequentedbytheusersofalocalDNSwillnotneedtobelookedupveryfrequently.
DomainNameServicePage2Oct1999Prof.
WeiserMSTM,OSUTakealookatthefollowingfiles'contents,andnotewhatyoubelieveeachdoes:/etc/named.
conf/etc/hosts/var/named/named.
ca/var/named/named.
localEstablishingaNewZoneDomainsaredelegatedbyNICasaresultofarequest.
Inordertoqualifyformanagementofadomain,atleasttwoauthoritativenameserversmustberegistered.
Thelocationsofthesenameserversarerecordedineachoftherootnameservers.
Thelocationsoftherootnameserversispublicinformationandisrecordedinallnon-rootDNSservers.
Forinstance,OSUmaintainsnameserversat139.
78.
100.
1and139.
78.
200.
1.
Eachoftherootnameserverspointsanyqueriesendinginokstate.
edutotheseOSUnameservers.
Asauthoritativeservers,theymusthaveinformationaboutallvalidhostsdirectly,orbeabletoindicateanothernameserverthatdoeshavetheinformation.
Althoughmostorganizationsmanagingadomainwillonlyneedonezone,larger,distributedorganizationsmayprefertodelegatecontroloftheportionsofthedomaintoothernameservers.
Eachofthese"areas"ofthetotalhostnamespacewithinthedomainiscalledazone.
Individualzonesmaybemanagedbydifferentserversandagivenservermaybemasterforsomezonesandslavesforothers.
BecausetheDNSthatyouestablishwillnotberegisteredwitheitheroftheUniversity'sauthoritativeservers,wewillcreateafictitiousdomainthatwillonlyshowupifahostusesyourDNSforalookup.
WewillpretendthatyouhavebeenassignedthedomainbenchX.
cxm,whereXistheletterofroomtowhichyou'reassigned.
Forinstancetheserverin104Dwillservicethedomainbenchd.
cxm.
DomainNameServicePage3Oct1999Prof.
WeiserMSTM,OSUFirst,youwillneedtopointyourDNSdaemontothespecificfilewheretheindividualhostnamesreside.
Edit/etc/named.
confbyaddingthefollowingtexttotheendofthefile:zone"benchX.
cxm"{typemaster;file"named.
benchX.
cxm";};ThisadditionwilltellthedaemonthatifanyonequeryingthisserverislookingforaddressesendinginbenchX.
cxm,thisserverhasauthoritativeinformationandthedetailscanbefoundinthefilenamed.
benchX.
cxm.
mastermeansthatthisistheserverwhoseinformationwillalwaysbeconsideredtothemostcurrent.
Thereisonlyonemasterperzone,buttheremaybeseveralslaveswhichreadthedatafromthemaster.
CreatingtheZoneDataFile:Zonedatamaybestoredinanyaccessiblelocationonanyfilesystem.
Thelocationofthosefilescanbefoundatthetopofthe/etc/named.
conffileintheoptionssection.
Allzonefilesshouldbeplacedinthatdirectory.
Ifyouarehavingahardtimeseeingthetopofafilewhenyoulistoutthecontents,youcanpipemostcommandsthatsendinformationtothescreentothemoreprogrambyaddingtotheendofthecommand"|more"(noquotes).
moresimplytakestheinformationitreceivesanddisplaysitonscreen-fulls.
Togetthenextscreen,pressthespacebar.
Basedupontheoptionsinformationandthelinesthatyouaddedtothenamed.
conffile,you'llneedtocreateanewzonefile.
Onegoodwaytodothisistostartwithafilethatalreadyfunctionsandmodifyitforthenewzone.
cd/var/namedcp.
/named.
local.
/named.
benchX.
cxmNowyoucanloadupthisnewfileintothevieditor.
Noticethattheinformationisinafewdifferentsectionsasfollows:StartofAuthority(SOA)Namesthezone,nameserver,andcontactinformationoftheresponsibleparty,aswellasspecifiesdefaultinformationthatappliestotheentiresite.
NameServer(NS)SpecifiestheauthoritativenameserversforthedomainAddressRecord(A)TranslationsfromhostnamestoIPaddressesMailExchanger(MX)EnablesspecificationofthehoststhatareinchargeofreceivingmailfromtheoutsideDomainNameServicePage4Oct1999Prof.
WeiserMSTM,OSUCanonicalName(CNAME)Aliasesthatpointtoaddressrecordssothatasinglehostmaybeknownbydifferenthostnames.
DocumentationEntries(RPandTXT)ContactinformationandcommentsPointerRecord(PTR)Reverseresolutionrecord,sothatsomeonecanlookupahostnamefromanIPaddressTheveryfirstcharacterinthefileisan@sign.
Anywhereinthefilethissignappearsisthesameasincludingtheentiredomainnamethatappearsinthenamed.
conffile.
Replacelocalhost.
withbenchX.
cxm.
onthefirstlinetospecifythedomainforwhichthisfileisauthoritative.
Onthislineandotherswhereanaddressendsinaperiod,besureyourchangesalsoendinaperiod.
Thisspecifiestheaddressisabsolute,ratherthanrelativetothedomainrepresentedby@.
Replaceroot.
localhost.
withyoure-mailaddress.
Ratherthanusingthe@sign(whichisreservedforanotherpurpose),usea".
"Arbitrarilyassignthenameshost1,host2,host3,andhost4tothesystemsinyourroom.
OnthelinewithNS,replacelocalhost.
withthenameyouselectedforthehostonwhichthenameserverresides.
Addan"A"recordforeachofyourhostsinthefollowingformat:hostnameINAIP.
add.
res.
sWewillalsomakeawebaliasthatpointstotheserver:wwwINCNAMEhostnamewherehostnameisthehostnamethatyouassignedintheArecordandwanttoalsobereferredtoaswww.
benchX.
cxmNoneofthisinformationiscurrent,becauseitisreadwhenthedaemonisstarted.
Tohavethistakeeffect,you'llneedtorestartthedaemonwiththecommand,/etc/rc.
d/init.
d/namedrestartTestyourconfigurationtomakesureitallworks,includingallhostsandaliasesservedbythisDNSandanyotherhostnameontheInternetGettheTAorProfessortoinitialintheboxtotheright,indicatingthatyouhavesuccessfullyconfiguredabasicDNSforafictitiousdomain,includingaliasrecords.
DomainNameServicePage5Oct1999Prof.
WeiserMSTM,OSUNowwe'llgoalittledeeper.
Aftereachofthefollowingthreeareas,restartthedaemon,testandtrouble-shoot.
AddamailrecordThiswillallowyoutoreceivemailatlogin@bench0.
cxm,ratherthanlogin@hostY.
bench0.
cxmEdityourzonefiletoincludethefollowinglineimmediatelyaftertheNameServerline:INMX10mailserverHostOnlyusetheunqualifiedhostname(iedev156).
TherestoftheaddresswillberesolvedbytheArecord.
AddaforwarderAforwardersstatementcanpointtospecificothernameserversthatmaybeabletoresolvenamesthatcannotberesolvedlocally,butmaybeabletoberesolvedwithoutgoingtotherootserver.
We'lluseforwarderstoeachoftheothergroups'masternameserver.
Edittheoptionslineofthe/etc/named.
conf,addingthefollowingstatementforwarders{xxx.
xxx.
xxx.
xxx;yyy.
yyy.
yyy.
yyy;};includingeachoftheIP'srepresentingtheothernameserverswithinthebracesOperateslavesSlavesarealsoauthoritativeandserveeitherasabackupforthemaster,orcanlocalizedatafromafrequentlyaccesseddomain.
SlavesmaybecreatedsolelyfromtheslaveDNS,withoutpermissionorconfigurationfromthemaster.
Theretrievalofthecurrentfile,however,iseithertriggeredbyatimerexpirationintheslave,ormanuallybytheslave'sadministrator.
Ifthemasterisconfigured,itcanNOTIFYtheslaveanytimeanupdateoccurs,guaranteeingalmostidenticaldatainbothservers.
Addthefollowinglinesto/etc/named.
conf:zonedomain.
cxm"{typeslave;file"slave.
domain.
cxm";masters{xxx.
xxx.
xxx.
xxx;};};wheredomain.
cxmisthenameofthedomainforwhichthisisaslave,andxxx.
xxx.
xxx.
xxxistheIPaddressofthemasterDNSforthatdomain.
GettheTAorProfessortoinitialintheboxtotheright,indicatingthatyounowunderstandmanyoftheadditionalcomplexitiesinvolvedinadministeringaDNS.
这次RackNerd商家提供的美国大硬盘独立服务器,数据中心位于洛杉矶multacom,可选Windows、Linux镜像系统,默认内存是64GB,也可升级至128GB内存,而且硬盘采用的是256G SSD系统盘+10个16TSAS数据盘,端口提供的是1Gbps带宽,每月提供200TB,且包含5个IPv4,如果有需要更多IP,也可以升级增加。CPU核心内存硬盘流量带宽价格选择2XE5-2640V2...
Pia云这个商家的云服务器在前面也有介绍过几次,从价格上确实比较便宜。我们可以看到最低云服务器低至月付20元,服务器均采用KVM虚拟架构技术,数据中心包括美国洛杉矶、中国香港、俄罗斯和深圳地区,这次春节活动商家的活动力度比较大推出出全场6.66折,如果我们有需要可以体验。初次体验的记得月付方案,如果合适再续约。pia云春节活动优惠券:piayun-2022 Pia云服务商官方网站我们一起看看这次活...
在八月份的时候有分享到 Virmach 暑期的促销活动有低至年付12美元的便宜VPS主机,这不开学季商家又发布五款年付VPS主机方案,而且是有可以选择七个数据中心。如果我们有需要低价年付便宜VPS主机的可以选择,且最低年付7.2美元(这款目前已经缺货)。这里需要注意的,这次发布的几款便宜年付方案,会在2021年9月30日或者2022年4月39日,分两个时间段会将INTEL CPU迁移至AMD CP...
so域名为你推荐
com域名注册.com的域名注册需要什么证件和资料吗?域名购买如何购买域名?香港虚拟空间最好的香港虚拟主机是哪家?php虚拟空间php虚拟主机空间如何连接mysql便宜虚拟主机麻烦各位给我推荐一个比较便宜的虚拟主机,要质量好的。谢谢大家了windows虚拟主机在windows 系统上装虚拟机有什么好的建议jsp虚拟主机jsp中文网的虚拟主机有人用过没?觉得怎么样?新加坡虚拟主机请问新网的虚拟主机靠谱吗?广西虚拟主机南宁有实力的网络公司推荐下?m3型虚拟主机万网M3机型虚拟主机,如何重启?
域名服务器 国外vps租用 鲁诺vps 国外主机 wavecom 国外服务器网站 koss 新世界电讯 中国特价网 789电视网 什么是服务器托管 isp服务商 空间技术网 酷番云 卡巴斯基是免费的吗 联通网站 iki 广州主机托管 好看的空间 googlevoice 更多