< Back

New-EswDnsEndpoint

Mon Jan 13, 2020 7:14 pm

NAME New-EswDnsEndpoint



SYNOPSIS

Adds a record to a DNS zone.





SYNTAX

New-EswDnsEndpoint [-DnsName] <String> [-ResourceGroupName] <String> [-DnsZone] <String> [-IpAddress <String>]

[-RecordType <String>] [-CName <String>] [-Force] [<CommonParameters>]





DESCRIPTION

Adds a record to a DNS zone.





PARAMETERS

-DnsName <String>

The name of the DNS record being created.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ResourceGroupName <String>

The Azure resource group name that the load balancer is in.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DnsZone <String>

The DNS Zone the record will be created in.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IpAddress <String>

The IP Address of the A record being created.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecordType <String>

The type of record being created, defaults to an 'A' record.



Required? false

Position? named

Default value A

Accept pipeline input? false

Accept wildcard characters? false



-CName <String>

If this is CName record being created, this is the url to create it for.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Force the recreation of the rule.



Required? false

Position? named

Default value False

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>New-EswDnsEndPoint -DnsName 'test-record' -ResourceGroupName 'test-rg' -DnsZone 'test.eshopworld.net'

-IpAddress '192.168.5.5'



Will create an A record with an ip address of 192.168.5.5 in the test.eshopworld.net zone.











RELATED LINKS