dns.h
@@ -8,6 +8,7 @@ #define T_TXT 16 // Text record #define T_AAAA 28 // IPv6 address int reachable(unsigned char* buf, char* dns_ip); struct timespec resolve(unsigned char* buf, char* hostname, char* dns_ip, int query_type); void print_packet(unsigned char* buf);