Zones List

Returns the zones for the DNS server.

Input Parameters

None

Output Parameters

Name Type Description
DNSZones Collection

A list of zones with each zone containing the following members:

  • Aging
  • AllowUpdate
  • AutoCreated
  • DataFile
  • DisableWINS
  • DnsServerName
  • DsIntegrated
  • Name
  • Notify
  • Paused
  • Reverse
  • SecureSecondaries
  • UseWINS
  • ZoneType
  • Shutdown
Result Number

Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.