Rediger

Del via


Set-AzSDnsForwarder

Synopsis

Updates the DNS forwarder configuration.

Syntax

Set-AzSDnsForwarder -IPAddress <System.Net.IPAddress>

Description

Updates the DNS forwarder IP addresses used in Azure Stack Hub. You can view the current configuration by using the Get-AzSDnsForwarder cmdlet.

Examples

Example 1

Set-AzsDnsForwarder -IPAddress "IPAddress 1","IPAddress 2"

Parameters

-IPAddress

An array of IPv4 IP address(es) used by Azure Stack Hub for forwarding DNS queries.

Type: System.Net.IPAddress
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Next steps

For information about how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.