Register-CustomDnsServerRegister-CustomDnsServer

SammanfattningSynopsis

Skript för att registrera anpassade DNS-servrar med Azure Stack hubb-DNS.Script to register custom DNS servers with Azure Stack Hub DNS. Det här skriptet skapar villkorlig vidarebefordran i Azure Stack Hub DNS.This script will create conditional forwarding in Azure Stack Hub DNS.

SyntaxSyntax

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

BeskrivningDescription

Skript för att registrera anpassade DNS-servrar med Azure Stack DNS.Script to register custom DNS servers with Azure Stack DNS. Det här skriptet skapar villkorlig vidarebefordran i Azure Stack DNSThis script will create conditional forwarding in Azure Stack DNS

ExempelExamples

Exempel 1Example 1

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

ParametrarParameters

-CustomDomainName-CustomDomainName

Type: Object
Parameter Sets: (All)
Aliases:

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

-CustomDnsIPAddresses-CustomDnsIPAddresses

Type: Object
Parameter Sets: (All)
Aliases:

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

-TimeoutInSecs-TimeoutInSecs

Type: Object
Parameter Sets: (All)
Aliases:

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

– AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

Nästa stegNext steps

Information om hur du kommer åt och använder den privilegierade slut punkten finns i använda den privilegierade slut punkten i Azure Stack Hub.For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.