< Back
Add-AzureDns
Post
NAME Add-AzureDns
SYNOPSIS
Adds a DNS server to an Azure service.
SYNTAX
Add-AzureDns [-Name] <String> [-IPAddress] <String> [-ServiceName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Add-AzureDns cmdlet adds a DNS server to an Azure service.
PARAMETERS
-Name <String>
Specifies a friendly name for the DNS server. This name is not necessarily a fully qualified domain name.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IPAddress <String>
Specifies the IP address of the DNS server.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the service to which this cmdlet adds the DNS server.
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext
NOTES
-------------------------- Example 1: Add a DNS server --------------------------
PS C:\\>Add-AzureDns -ServiceName "ContosoService" -IPAddress 10.1.2.4 -Name "Dns07"
This command adds the DNS server that has the address 10.1.2.4 to ContosoService.
RELATED LINKS
Get-AzureDns
New-AzureDns
Remove-AzureDns
Set-AzureDns
SYNOPSIS
Adds a DNS server to an Azure service.
SYNTAX
Add-AzureDns [-Name] <String> [-IPAddress] <String> [-ServiceName] <String> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
DESCRIPTION
The Add-AzureDns cmdlet adds a DNS server to an Azure service.
PARAMETERS
-Name <String>
Specifies a friendly name for the DNS server. This name is not necessarily a fully qualified domain name.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-IPAddress <String>
Specifies the IP address of the DNS server.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ServiceName <String>
Specifies the name of the service to which this cmdlet adds the DNS server.
Required? true
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.Utilities.Common.ManagementOperationContext
NOTES
-------------------------- Example 1: Add a DNS server --------------------------
PS C:\\>Add-AzureDns -ServiceName "ContosoService" -IPAddress 10.1.2.4 -Name "Dns07"
This command adds the DNS server that has the address 10.1.2.4 to ContosoService.
RELATED LINKS
Get-AzureDns
New-AzureDns
Remove-AzureDns
Set-AzureDns