Set method of the PS_DnsServerGlobalQueryBlockList class

Overwrites the list of names the server does not resolve.

Syntax


uint32 Set(
  [in]   boolean Enable,
  [in]   string List[],
  [in]   string ComputerName,
  [in]   boolean PassThru,
  [out]  string cmdletOutput
);

Parameters

Enable [in]

Enables or disables support for the global query block list that blocks name resolution for names in the list. The DNS Server service creates and enables the global query block list by default when the service starts the first time. 0: Disables support for the global query block list. When you set the value of this command to 0, the DNS Server service responds to queries for names in the block list. 1: Enables support for the global query block list. When you set the value of this command to 1, the DNS Server service does not respond to queries for names in the block list.

List [in]

Replaces the current global query block list with a list of the names that you specify. If you do not specify any names, this command clears the block list. By default, the global query block list contains the following items: isatap; wpad: The DNS Server service can remove either or both of these names when it starts the first time, if it finds these names in an existing zone.

ComputerName [in]

Specifies the remote computer on which to execute the command

PassThru [in]

cmdletOutput [out]

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\Microsoft\Windows\Dns

MOF

DnsServerPsProvider.mof

See also

PS_DnsServerGlobalQueryBlockList

 

 

Show:
© 2014 Microsoft