RE: Questions regarding which APIs to use to retrieve network info
- From: v-raygon@xxxxxxxxxxxxxxxxxxxx (Rhett Gong [MSFT])
- Date: Fri, 13 May 2005 06:47:14 GMT
Hello Matt,
Please check inline for these 2 questions.
>I need to retrieve the list of IP addresses of Forwarders to which a DNS
>server forwards queries.
We can query the Forwarders[] properties of MicrosoftDNS_Server for this IP
list.
>I need to retrieve a list of root hints configured for a DNS server.
If you can't use WMI then there is no other api to retrieve a list of root
hint. You may go dig into Cache.dns file under the
%SystemRoot%\\System32\\Dns to retrieve this information.
Please let me know if my answer helps you resolve the problem. If there is
anything more I can assist you, please feel free to let me know.
Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties and confers no rights.
.
- Follow-Ups:
- References:
- Prev by Date: Questions regarding which APIs to use to retrieve network info
- Next by Date: Re: XP SP2 - sockets server (2003) and client xp sp2
- Previous by thread: Questions regarding which APIs to use to retrieve network info
- Next by thread: RE: Questions regarding which APIs to use to retrieve network info
- Index(es):
Relevant Pages
|