DNSQuery_AdGuard PoC test AdGuard DNS I just modernize part of the code to using inet_ntop, inet_pton instead of inet_addr, inet_ntoa Resource/Reference: https://adguard.com/en/adguard-dns/overview.html http://support.microsoft.com/kb/831226 https://blogs.msdn.microsoft.com/winsdk/2014/12/17/dnsquery-sample-to-loop-through-multiple-ip-addresses/