Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates DNS server settings. This cmdlet is used to control the -UseRootHint
setting for the internal DNS servers. The default value for -UseRootHint
is enabled ($true
).
Note
This cmdlet is only available in Azure Stack Hub 1.2206.2.66 and later builds.
Set-AzSDnsServerSettings [-UseRootHint] <boolean>
Provides the ability to change the -UseRootHint
setting for the internal DNS servers in Azure Stack Hub.
Setting the -UseRootHint
parameter to $true
enables DNS root hints on the internal DNS servers. Setting -UseRootHint
to $false
disables the DNS root hints functionality.
You can view the current configuration by using the Get-AzSDnsServerSettings cmdlet.
Set-AzSDnsServerSettings -UseRootHint $false
Set-AzSDnsServerSettings -UseRootHint $true
Boolean value to control whether the -UseRootHint
DNS server setting is enabled ($true
) or disabled ($false
).
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
For information about how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.