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.
HostKvm发布了夏季特别促销活动,针对香港国际/韩国机房VPS主机提供7折优惠码,其他机房全场8折,优惠后2GB内存套餐月付仅5.95美元起。这是一家成立于2013年的国外主机服务商,主要提供基于KVM架构的VPS主机,可选数据中心包括日本、新加坡、韩国、美国、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。下面分享几款香港VPS和韩国VPS的配置和价格信息。...
justhost怎么样?justhost是一家俄罗斯主机商,2006年成立,提供各种主机服务,vps基于kvm,有HDD和SSD硬盘两种,特色是200Mbps不限流量(之前是100Mbps,现在升级为200Mbps)。下面是HDD硬盘的KVM VPS,性价比最高,此外还有SSD硬盘的KVM VPS,价格略高。支持Paypal付款。国内建议选择新西伯利亚或者莫斯科DataLine。支持Paypal付...
官方网站:点击访问月神科技官网优惠码:美国优惠方案:CPU:E5-2696V2,机房:国人热衷的优质 CeraNetworks机房,优惠码:3wuZD43F 【过期时间:5.31,季付年付均可用】活动方案:1、美国机房:洛杉矶CN2-GIA,100%高性能核心:2核CPU内存:2GB硬盘:50GB流量:Unmilited端口:10Mbps架构:KVM折后价:15元/月、150元/年传送:购买链接洛...
so域名为你推荐
虚拟主机价格谁知道虚拟主机的价格?.net虚拟主机想买个同时支持php和.net的虚拟主机,哪里可以买到这样的空间?是同时支持的那种。独立ip主机独立ip虚拟主机怎么样?是不是真的很好用,和vps有什么区别吗?服务器租赁服务器出租是什么意思,来点简单能看得懂的linux主机linux主机与Windows主机的区别?谢谢vps虚拟主机虚拟主机和VPS该选择哪个比较好国外域名注册如何注册国外域名?海外域名外贸网站如何选择合适的海外域名?网站空间价格我想自己弄个小网站,但我不会懂域名和买空间价格,便宜一点的一共要多少钱?虚拟主机软件常见的虚拟机软件有哪几种?
xen 网通服务器ip 租空间 免空 韩国名字大全 idc资讯 股票老左 php空间购买 metalink 免费网页申请 如何注册阿里云邮箱 支持外链的相册 drupal安装 下载速度测试 我的世界服务器ip 免费asp空间 服务器防火墙 深圳域名 114dns 国外网页代理 更多