Set-NetDnsTransitionConfiguration

Set-NetDnsTransitionConfiguration

Sets the DNS64 configuration on a computer.

Syntax

Parameter Set: ByName
Set-NetDnsTransitionConfiguration [-AcceptInterface <String[]> ] [-Adapter <CimInstance> ] [-AlwaysSynthesize <Boolean> ] [-AsJob] [-CimSession <CimSession[]> ] [-ExclusionList <String[]> ] [-LatencyMilliseconds <UInt32> ] [-OnlySendAQuery <Boolean> ] [-PassThru] [-PrefixMapping <String[]> ] [-SendInterface <String[]> ] [-State <State> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Set-NetDnsTransitionConfiguration -InputObject <CimInstance[]> [-AcceptInterface <String[]> ] [-AlwaysSynthesize <Boolean> ] [-AsJob] [-CimSession <CimSession[]> ] [-ExclusionList <String[]> ] [-LatencyMilliseconds <UInt32> ] [-OnlySendAQuery <Boolean> ] [-PassThru] [-PrefixMapping <String[]> ] [-SendInterface <String[]> ] [-State <State> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-NetDnsTransitionConfiguration sets the DNS64 configuration on a computer.

Parameters

-AcceptInterface<String[]>

Specifies the interface on which the DNS64 is listening to all of the interfaces classified in the domain profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Adapter<CimInstance>

Specifies the network adapter on which to set.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-AlwaysSynthesize<Boolean>

Specifies that the DNS64 will always send both the response to the AAAA query as well as the synthesized A query response. If this parameter is set to False, then the DNS64 will send neither the response to the AAAA query nor the synthesized A query response.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-AsJob

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CimSession<CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ExclusionList<String[]>

Sets the list of IPv6 address ranges to be excluded from synthesis by the DNS64. The format is a comma-separated list of IPv6 addresses ranges.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<CimInstance[]>

Specifies the DNS64 configuration object on which to set.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-LatencyMilliseconds<UInt32>

Sets the delay in milliseconds between the AAAA and A query that the DNS64 sends.

Aliases

Latency

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OnlySendAQuery<Boolean>

Specifies that only A queries should be sent or both A and AAAA queries should be sent. If this parameter is set to True, then only A queries should be sent. If this parameter is set to False, then both A and AAAA queries should be sent.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PrefixMapping<String[]>

Sets to the list of IPv6 address ranges to be used for synthesis by the DNS64. The format is a comma-separated list of <IPv6 prefix,IPv4 subnet>. Such as "69:FF9B::/96,0.0.0.0/0","66:FF9B::/96,192.2.0.0/8".

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SendInterface<String[]>

Sets the interface on which the DNS64 sends DNS queries.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-State<State>

Sets the enabled state of the DNS64 configuration.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetDnsTransitionConfiguration

    The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (#) provides the namespace and class name for the underlying WMI object.

Examples

EXAMPLE 1

This example sets the state to enabled and latency to 400 ms for the DNS64 configuration.

PS C:\> Set-NetDnsTransitionConfiguration –State Enabled –Latencymilliseconds 400

Disable-NetDnsTransitionConfiguration

Enable-NetDnsTransitionConfiguration

Get-NetDnsTransitionConfiguration

Get-NetDnsTransitionMonitoring

Reset-NetDnsTransitionConfiguration