- 论坛徽章:
- 0
|
+---------------------+
| Header |
+---------------------+
| Question | the question for the name server
+---------------------+
| Answer | RRs(Recourse Records) answering the question
+---------------------+
| Authority | RRs pointing toward an authority
+---------------------+
| Additional | RRs holding additional information
+---------------------+
Header 是必须的,用来确定后面各个字段是否存在、确定该报文为查询、响应报文、标准查询报文...
Header里的东西很细了,记也记不住... 知道他的大体组成就可以了呢...
Question 包含查询名称,查询类型(A类型常用,获得查询名的IP地址),查询类(通常为1,指互联网地址)
Answer, Authority, Additional 具有相同的格式(NAME, TYPE, CLASS, TTL, RDLENGTH, RDATA)
attatchment:
![]()
文件:rfc1035_dns.pdf
大小:69KB
下载:
下载
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/109778/showart_2153313.html |
|