Juste need help about API to retrieve the content of the DNS cache.
The API is DnsGetCacheDataTable from DNSAPI.dll
I found an exemple here but i'm unable do make a call in order to get result.
Thanks a lot![:)]()
PS: i know that there is an other way ( IPCONFIG /DISPLAYDNS command). My perpose is to do it without cmd
The API is DnsGetCacheDataTable from DNSAPI.dll
I found an exemple here but i'm unable do make a call in order to get result.
Thanks a lot

PS: i know that there is an other way ( IPCONFIG /DISPLAYDNS command). My perpose is to do it without cmd