Register-CustomDnsServer

摘要

用于向 Azure Stack Hub DNS 注册自定义 DNS 服务器的脚本。 此脚本将在 Azure Stack Hub DNS 中创建条件转发。

语法

Register-CustomDnsServer [[-TimeoutInSecs] <Object>] [[-CustomDomainName] <Object>]
 [[-CustomDnsIPAddresses] <Object>] [-AsJob]

说明

用于使用 Azure Stack DNS 注册自定义 DNS 服务器的脚本。 此脚本将在 Azure Stack DNS 中创建条件转发

示例

示例 1

Register-CustomDnsServer -CustomDomainName "contoso.com" -CustomDnsIPAddresses "10.20.20.01","10.20.20.02" -TimeoutInSecs 1000

parameters

-CustomDomainName

Type: Object
Parameter Sets: (All)
Aliases:

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

-CustomDnsIPAddresses

Type: Object
Parameter Sets: (All)
Aliases:

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

-TimeoutInSecs

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 1000
Accept pipeline input: False
Accept wildcard characters: False

-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

后续步骤

有关如何访问和使用特权终结点的信息,请参阅使用 Azure Stack Hub 中的特权终结点