DNS enumerate hosts/IPaddress of domain members

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I get a list of members IPaddress of a domain.
I look under dnsmgmt and I saw it listed as:

Name Type Data
comp1 Host(A) 10.1.4.7
comp2 Host(A) 10.1.4.8
comp3 Host(A) 10.1.4.9
.....

How do I get this info? What method do I use?

thanks with any help.
ttan
 
I can only suggest you to look into My.Computer.Network and WMI namespaces.

chanmm
 
|
| How do I get a list of members IPaddress of a domain.
| I look under dnsmgmt and I saw it listed as:
|
| Name Type Data
| comp1 Host(A) 10.1.4.7
| comp2 Host(A) 10.1.4.8
| comp3 Host(A) 10.1.4.9
| ....
|
| How do I get this info? What method do I use?
|
| thanks with any help.
| ttan

You can use the System.Management classes and connect to the MicrosoftDNS
namespace provider, when done you could query the MicrosoftDNS_AType class
to get the A records.

Willy.
 
Willy,

Thank you so much, this is what I need and it help to resolve my problem.

I'm very appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top