Added ability to decode DNS PTR records used for reverse address resolution

This commit is contained in:
Luca Deri
2022-12-15 21:22:53 +01:00
parent dbff2fbadd
commit de289f1305
2 changed files with 75 additions and 47 deletions
+2 -1
View File
@@ -1394,7 +1394,8 @@ struct ndpi_flow_struct {
struct {
u_int8_t num_queries, num_answers, reply_code, is_query;
u_int16_t query_type, query_class, rsp_type;
ndpi_ip_addr_t rsp_addr; /* The first address in a DNS response packet */
ndpi_ip_addr_t rsp_addr; /* The first address in a DNS response packet (A and AAAA) */
char ptr_domain_name[64 /* large enough but smaller than { } tls */];
} dns;
struct {