TXT records set through SDK calls results in improper string value #1376
Labels
ARM
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
I am using the DNSManagementClient to make record changes to zones in Azure. It seems there is a bug when creating TXT records. When making a TXT record with this SDK, the value of a TXT record is not stored as a string, but as a list of characters. This behavior shows up elsewhere and is almost definitely unintended.
Example SDK construction call in python function in a placeholder domain:
I also made this same record in the Azure online portal. Here are the results:
.
This is not just a cosmetic bug. We can retrieve this inconsistency when making calls to the zone. For example, here is what happens when we call the record using the SDK, as well as using dig:
![image](https://user-images.githubusercontent.com/29443197/29436417-387b6718-8360-11e7-924c-768ae1425202.png)
![image](https://user-images.githubusercontent.com/29443197/29436542-dbe62cf8-8360-11e7-944f-6248d04d252e.png)
(this is to a different record)
Furthermore, this bug also occurs when using the Azure CLI 2.0 to create the record. Making a TXT record through the Azure portal is the only method that has not returned this error.
The text was updated successfully, but these errors were encountered: