Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNS] 'az network dns zone import' doesn't work #1126

Closed
jtuliani opened this issue Oct 24, 2016 · 2 comments
Closed

[DNS] 'az network dns zone import' doesn't work #1126

jtuliani opened this issue Oct 24, 2016 · 2 comments
Assignees
Labels
Network az network vnet/lb/nic/dns/etc...

Comments

@jtuliani
Copy link

Attempted to import the attached zone file via the following command:

az network dns zone import -g rg1 -n mytestzone.com --file-name "C:\Users\jonatul\Desktop\Zone Files\mytestzone.com.dns.txt"

I just get a screen full of red error/call stack text.

The equivalent command via the old CLI works fine.
mytestzone.com.dns.txt

@JasonRShaver JasonRShaver added the Network az network vnet/lb/nic/dns/etc... label Oct 31, 2016
@tjprescott
Copy link
Member

The current import command is designed to consume the DNS zone file in the format that the export command outputs. We will overhaul them in tandem.

@tjprescott
Copy link
Member

The main reason for the crash is because the current implementation cannot handle multiple TXT entries per record. I am adding your zone file to the test suite to guard against future regressions.

@jtuliani jtuliani changed the title 'az network dns zone import' doesn't work [DNS] 'az network dns zone import' doesn't work Jan 30, 2017
@haroldrandom haroldrandom added the Network az network vnet/lb/nic/dns/etc... label Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Network az network vnet/lb/nic/dns/etc...
Projects
None yet
Development

No branches or pull requests

4 participants