Dim query As New ObjectQuery( _
"SELECT * FROM MicrosoftDNS_Zone")
Dim searcher As New ManagementObjectSearcher(scope, query)
For Each queryObj As ManagementObject in searcher.Get()
Console.WriteLine("-----------------------------------")
Console.WriteLine("MicrosoftDNS_Zone instance")
Console.WriteLine("-----------------------------------")
Console.WriteLine("DnsServerName: {0}",
queryObj("DnsServerName"))
Next
--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com
"Ben" <Be*@Newsgroups.microsoft.com> wrote in message
news:eX*************@TK2MSFTNGP12.phx.gbl...
Hi
Is there any way of using dns.resolve to only query the Authoritive Server
for that domain.
Thanks
B