DnsServerConditionalForwarderZone class

Represents a DNS conditional forwarder on a DNS server.

Note

Conditional forwarders are stored internally as zones.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerConditionalForwarderZone : DnsServerZone
{
  string  DistinguishedName;
  string  ZoneName;
  string  ZoneType;
  boolean IsPaused;
  boolean IsDsIntegrated;
  boolean IsAutoCreated;
  boolean IsReverseLookupZone;
  boolean IsReadOnly;
  boolean IsShutdown;
  string  DirectoryPartitionName;
  string  ReplicationScope;
  string  MasterServers[];
  boolean UseRecursion;
  uint32  ForwarderTimeout;
};

Members

The DnsServerConditionalForwarderZone class has these types of members:

Properties

The DnsServerConditionalForwarderZone class has these properties.

DirectoryPartitionName

Data type: string

Access type: Read/write

The name of the directory partition that contains the conditional forwarder zone.

DistinguishedName

Data type: string

Access type: Read-only

The Lightweight Directory Access Protocol (LDAP) name of the domain.

This property is inherited from DnsDomain.

ForwarderTimeout

Data type: uint32

Access type: Read/write

The timeout of the forwarder, in seconds.

IsAutoCreated

Data type: boolean

Access type: Read-only

true if the zone is automatically created; otherwise, false.

This property is inherited from DnsServerZone.

IsDsIntegrated

Data type: boolean

Access type: Read-only

true if the zone is integrated with Active Directory; otherwise, false.

This property is inherited from DnsServerZone.

IsPaused

Data type: boolean

Access type: Read-only

true if the zone is paused; otherwise, false.

This property is inherited from DnsServerZone.

IsReadOnly

Data type: boolean

Access type: Read-only

true if the zone is read-only; otherwise, false.

This property is inherited from DnsServerZone.

IsReverseLookupZone

Data type: boolean

Access type: Read-only

true if the zone is a reverse lookup zone; otherwise, false.

This property is inherited from DnsServerZone.

IsShutdown

Data type: boolean

Access type: Read-only

true if the zone is shutdown; otherwise, false.

This property is inherited from DnsServerZone.

MasterServers

Data type: string array

Access type: Read/write

An array that contains the IP addresses of the master servers of the zone. You can use both IPv4 and IPv6 addresses. You must specify at least one master server.

ReplicationScope

Data type: string

Access type: Read/write

The replication scope for the conditional forwarder.

The possible values are.

Forest ("Forest")

Replicate the conditional forwarder to all DNS servers that run on domain controllers in the forest.

Domain ("Domain")

Replicate the conditional forwarder to all DNS servers that run on domain controllers in the domain.

Legacy ("Legacy")

Replicate the conditional forwarder to all domain controllers in the domain.

Custom ("Custom")

Replicate the conditional forwarder to all DNS servers running on domain controllers enlisted in a custom directory partition.

UseRecursion

Data type: boolean

Access type: Read/write

True enable recursion in the zone; otherwise, false.

ZoneName

Data type: string

Access type: Read/write

The name of the zone.

This property is inherited from DnsServerZone.

ZoneType

Data type: string

Access type: Read-only

The zone type.

This property is inherited from DnsServerZone.

The possible values are.

Cache ("Cache")

Primary ("Primary")

Secondary ("Secondary")

Stub ("Stub")

Forwarder ("Forwarder")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerZone

DnsServerPSProvider Provider