Skip to content

[Network] [Bug] az network dns record create won't allow me to create the '@' recordset #1577

Closed

Description

Attempt 1:

az network dns record-set create \
	--resource-group="${DNS_RESOURCE_GROUP}" \
	--zone-name="${DNS_ZONE_NAME}" \
	--type='A' \
	--name='@'

Failed to open file

Attempt 2 (escaping the @):

az network dns record-set create \
	--resource-group="${DNS_RESOURCE_GROUP}" \
	--zone-name="${DNS_ZONE_NAME}" \
	--type='A' \
	--name='\@'

The record name '@' does not match the name in the request body '\@'.

Note that the delete works as expected:

az network dns record-set delete \
	--resource-group="${DNS_RESOURCE_GROUP}" \
	--zone-name="${DNS_ZONE_NAME}" \
	--type='A' \
	--name='\@'

[no output]

I haven't found a workaround yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Networkaz network vnet/lb/nic/dns/etc...bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions