資源描述:
《DNS協(xié)議報(bào)文(RFC1035) DNS報(bào)文解析 DNS協(xié)議詳解》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、DNS協(xié)議報(bào)文(RFC1035)DNS報(bào)文解析DNS協(xié)議詳解一、域名和資源記錄的定義1、Namespacedefinitions2、資源記錄定義(RRdefinitions)????2.1格式????????后面分析報(bào)文的時(shí)候詳細(xì)解釋。????2.2類型值(TYPEvalues)????????類型主要用在資源記錄中,注意下面的值是QTYPE的一個(gè)子集。???????類型??????????值和含義????????A??????????????1ahostaddress????????NS?????????????2anauth
2、oritativenameserver????????MD?????????????3amaildestination(Obsolete-useMX)????????MF?????????????4amailforwarder(Obsolete-useMX)????????CNAME??????????5thecanonicalnameforanalias????????SOA????????????6marksthestartofazoneofauthority????????MB?????????????7amailboxd
3、omainname(EXPERIMENTAL)????????MG?????????????8amailgroupmember(EXPERIMENTAL)????????MR?????????????9amailrenamedomainname(EXPERIMENTAL)????????NULL???????????10anullRR(EXPERIMENTAL)????????WKS????????????11awellknownservicedescription????????PTR????????????12adomain
4、namepointer????????HINFO??????????13hostinformation????????MINFO??????????14mailboxormaillistinformation????????MX?????????????15mailexchange????????TXT????????????16textstrings????2.3查詢類型(QTYPEvalues)????????查詢類型出現(xiàn)在問題字段中,查詢類型是類型的一個(gè)超集,所有的類型都是可用的查詢類型,其他查詢類型如下:????????
5、AXFR???????????252Arequestforatransferofanentirezone????????MAILB??????????253Arequestformailbox-relatedrecords(MB,MGorMR)????????MAILA??????????254ArequestformailagentRRs(Obsolete-seeMX)????????*??????????????255Arequestforallrecords????2.4類(CLASSvalues)????????IN??
6、???????????1theInternet????????CS?????????????2theCSNETclass(Obsolete-usedonlyforexamplesinsomeobsoleteRFCs)????????CH?????????????3theCHAOSclass????????HS?????????????4Hesiod[Dyer87]????2.5查詢類(QCLASSvalues)????????查詢類是類的一個(gè)超集????????*??????????????255anyclass??3、Stan
7、dardRRs????3.1CNAMERDATAformat???3.2HINFORDATAformat???3.3MBRDATAformat(EXPERIMENTAL)???3.4MDRDATAformat(Obsolete)???3.5MFRDATAformat(Obsolete)???3.6MGRDATAformat(EXPERIMENTAL)???3.7MINFORDATAformat(EXPERIMENTAL)???3.8MRRDATAformat(EXPERIMENTAL)???3.9MXRDATAformat???
8、3.10NULLRDATAformat(EXPERIMENTAL)???3.11NSRDATAformat???3.12PTRRDATAformat???3.13SOARDATAformat???3.14TXTRDATAformat??4、ARPAInterne