dnsapi.dll의 DnsQueryEx 함수가
https://learn.microsoft.com/en-us/windows/win32/api/windns/nf-windns-dnsqueryex

DnsQueryEx function (windns.h) - Win32 apps
The asynchronous generic query interface to the DNS namespace, and provides application developers with a DNS query resolution interface.
learn.microsoft.com
여길 보면 윈도우 8 이상 지원이라고 돼 있는데
실제론 윈도우 2000의 dnsapi.dll에도 있었더라...
백신 프로그램이 레지스트리에 등록된 앱의 경로를 손상 시키는 경우가 있는지요
내가 그런 걸 겪은 적은 없었어 그리고 나 6년 전부터 백신을 안 썼어서
윈도2000은 서버용이고 8은 컨슈머용이니까