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.
Virmach自上次推出了短租30天的VPS后,也就是月抛型vps,到期不能续费,直接终止服务。此次又推出为期6个月的月抛VPS,可选圣何塞和水牛城机房,适合短期有需求的用户,有兴趣的可以关注一下。VirMach是一家创办于2014年的美国商家,支持支付宝、PayPal等方式,是一家主营廉价便宜VPS服务器的品牌,隶属于Virtual Machine Solutions LLC旗下!在廉价便宜美国...
在前面的文章中就有介绍到半月湾Half Moon Bay Cloud服务商有提供洛杉矶DC5数据中心云服务器,这个堪比我们可能熟悉的某服务商,如果我们有用过的话会发现这个服务商的价格比较贵,而且一直缺货。这里,于是半月湾服务商看到机会来了,于是有新增同机房的CN2 GIA优化线路。在之前的文章中介绍到Half Moon Bay Cloud DC5机房且进行过测评。这次的变化是从原来基础的年付49....
IT狗为用户提供 在线ping、在线tcping、在线路由追踪、域名被墙检测、域名被污染检测 等实用工具。【工具地址】https://www.itdog.cn/【工具特色】1、目前同类网站中,在线ping 仅支持1次或少量次数的测试,无法客观的展现目标服务器一段时间的网络状况,IT狗Ping工具可持续的进行一段时间的ping测试,并生成更为直观的网络质量柱状图,让用户更容易掌握服务器在各地区、各线...
so域名为你推荐
域名价格域名怎么评估价钱?美国vps主机求介绍一款英国的VPS主机?国内ip代理谁给我几个北京或国内的IP代理啊,高分,能用的域名备案域名备案需要什么虚拟主机控制面板虚拟主机管理面板与网站后台有什么区别?apache虚拟主机用的apache配置的虚拟主机,只有第一个能打开,别的是一直等待到超时,但是在服务器能正常打开。成都虚拟主机个人申请网址如何申请。asp虚拟主机支持ASP MSSQL 的虚拟主机有哪些推荐美国虚拟主机购买美国虚拟主机如何购买青岛虚拟主机虚拟主机在什么地方买好?又便宜?
山东虚拟主机 瓦工 blackfriday 搬瓦工官网 网络星期一 lighttpd 商务主机 全站静态化 nerds 上海联通宽带测速 空间登陆首页 上海电信测速 ebay注册 免费网络 江苏双线 google搜索打不开 japanese50m咸熟 hosting24 第八届中美互联网论坛 空间排行榜 更多