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.
菠萝云国人商家,今天分享一下菠萝云的广州移动机房的套餐,广州移动机房分为NAT套餐和VDS套餐,NAT就是只给端口,共享IP,VDS有自己的独立IP,可做站,商家给的带宽起步为200M,最高给到800M,目前有一个8折的优惠,另外VDS有一个下单立减100元的活动,有需要的朋友可以看看。菠萝云优惠套餐:广州移动NAT套餐,开放100个TCP+UDP固定端口,共享IP,8折优惠码:gzydnat-8...
WHloud Official Notice(鲸云官方通知)(鲸落 梦之终章)]WHloud RouMu Cloud Hosting若木产品线云主机-香港节点上新预售本次线路均为电信CN2 GIA+移动联通BGP,此机型为正常常规机,建站推荐。本次预售定为国庆后开通,据销售状况决定,照以往经验或有咕咕的可能性,但是大多等待时间不长。均赠送2个快照 2个备份,1个默认ipv4官方网站:https:/...
对于一般的用户来说,我们使用宝塔面板免费版本功能还是足够的,如果我们有需要付费插件和专业版的功能,且需要的插件比较多,实际上且长期使用的话,还是购买付费专业版或者企业版本划算一些。昨天也有在文章中分享年中促销活动。如今我们是否会发现,我们在安装宝塔面板后是必须强制我们登录账户的,否则一直有弹出登录界面,我们还是注册一个账户比较好。反正免费注册宝塔账户还有代金券赠送。 新注册宝塔账户送代金券我们注册...
so域名为你推荐
免费com域名注册有没有完全免费的域名?注册国际域名注册国际域名时的地址怎么填写?com域名空间域名和空间是什么意思免费国内空间现在国内比较好的免费网站空间有那个啊?国内免费空间免费空间哪个好用ip代理地址ip代理有什么用?有图片..免费vps服务器免费服务器有哪些网站空间域名关于网站的域名和空间?台湾vps做一个论坛,请问需要什么样的vps配置台湾主机台湾的电脑硬件比韩国,日本,美国强?
域名备案中心 krypt smartvps 主机评测 韩国空间 私人服务器 域名优惠码 windows2003iso 华为4核 91vps tna官网 网游服务器 服务器硬件防火墙 双12 阿里云官方网站 cxz 中国linux websitepanel webmin linux服务器系统 更多