DNS答案部分中的NAME字段的格式是什么?
NAME字段在RFC 1035第4.1.3小节中没有详细说明。 我想了解这个字段(编程)的答案消息types,我search这些资源(数据表)。 我遵循: IETF RFC 2181 www.ccs.neu.edu 我错过了什么吗? 伪代码: 题: byte[]{ 0x00,0x00, 0x01,0x00, 0x00,0x02, 0x00,0x00, 0x00,0x00, 0x00,0x00, 0x03,0x77,0x77,0x77, 0x12,0x74,0x68,0x65,0x5f,0x70,0x61,0x63,0x6b,0x65,0x74,0x67,0x65,0x65,0x6b, 0x03,0x63,0x6f,0x6d, 0x00, 0x00,0x01, 0x00,0x01, 0x13,0x74,0x74,0x68,0x65,0x5f,0x70,0x61,0x63,0x6b,0x65,0x74,0x67,0x65,0x65,0x6b, 0x03,0x63,0x6f,0x6d, 0x00, 0x00,0x01, 0x00,0x01 } 回答: byte[]{ 0x00,0x00, 0x81,0x80, 0x00,0x02, 0x00,0x01, 0x00,0x00, 0x00,0x00, 0x03,0x77,0x77,0x77, 0x12,0x74,0x68,0x65,0x5f,0x70,0x61,0x63,0x6b,0x65,0x74,0x67,0x65,0x65,0x6b, 0x03,0x63,0x6f,0x6d, 0x00, 0x00,0x01, 0x00,0x01, 0x13,0x74,0x74,0x68,0x65,0x5f,0x70,0x61,0x63,0x6b,0x65,0x74,0x67,0x65,0x65,0x6b, 0x03,0x63,0x6f,0x6d, 0x00, 0x00,0x01, 0x00,0x01, 0xC0,0x0C, <—– answer start here , […]