RE: Questions regarding which APIs to use to retrieve network info

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.

.



Relevant Pages

  • Re: Forworders or Root Hints?
    ... root hints and forwarders are methods of doing this. ... As long as it isn't my internal DNS I'm fine with that, ... "Jorge Silva" wrote: ... internal network)" You can have your own Cache only DNS server without ...
    (microsoft.public.windows.server.dns)
  • Re: Forworders or Root Hints?
    ... When using Forwarders the query is passed to a DNS Server or Servers that we ... to resolve the query and pass the result back to our Windows box. ...
    (microsoft.public.windows.server.dns)
  • Re: Forworders or Root Hints?
    ... root hints and forwarders are methods of doing this. ... As long as it isn't my internal DNS I'm fine with that, ... internal network)" You can have your own Cache only DNS server without ...
    (microsoft.public.windows.server.dns)
  • Re: Big problem with Vista clients
    ... DNS server 220.20.200.6)) ... Les Connor [SBS MVP] ... it is unable to reach any of the Forwarders or Root Hints. ...
    (microsoft.public.windows.server.sbs)
  • Re: Forworders or Root Hints?
    ... At some stage your DNS needs to use an external source regardless of the ... root hints and forwarders are methods of doing this. ... internal network)" You can have your own Cache only DNS server without being ...
    (microsoft.public.windows.server.dns)