question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure DNS provider cannot deal with unescaped semicolons

See original GitHub issue

I originally commented on https://github.com/github/octodns/issues/79 but it’s probably best to open a new issue.

I’m trying use octodns with Route 53 and Azure DNS.

In Azure, a TXT record with escaped semi-colons yields TWO backslashes via dig.

A TXT record without any escaping yields NO backslashes in the response from dig.

A TXT records surrounded in double quotes … well, it’s just weird, see below.

Unescaped semi-colons:

lsilverman@mgmt-lsilver:~$ dig +short TXT unescaped.trackabout.com @ns1-03.azure-dns.com.
"v=DKIM; k=rsa; p=1234567890"

Escaped semi-colons

lsilverman@mgmt-lsilver:~$ dig +short TXT escaped.trackabout.com @ns1-03.azure-dns.com.
"v=DKIM\\; k=rsa\\; p=1234567890"

Quoted TXT

lsilverman@mgmt-lsilver:~$ dig +short TXT quoted.trackabout.com @ns1-03.azure-dns.com.
"\"v=DKIM; k=rsa; p=1234567890\""

This is causing problems with the sync. Octo is refusing to read the TXT records from Azure due to the missing backslashes. But if I add backslashes, the records are invalid. Catch-22.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
silverlcommented, Apr 19, 2018

@h-hwang Would you be able to update the dependencies for the Azure provider?

I gave it the college try. I’m not facile with Python. I forked and checked out the code base and attempted to bootstrap. I was met with dependency issues between botocore and python-dateutil.

I optimistically upgraded botocore to the latest 1.10.4 but received the same bootstrap warnings.

botocore 1.10.4 has requirement python-dateutil<2.7.0,>=2.1, but you'll have python-dateutil 2.7.2 which is incompatible.

I found this PR which may be related: https://github.com/boto/botocore/pull/1433

0reactions
rosscommented, Jan 8, 2019

Isn’t this fixed with #272 ?

I believe so. Closing. Please reopen if not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure DNS provider cannot deal with unescaped semicolons
I'm trying use octodns with Route 53 and Azure DNS. In Azure, a TXT record with escaped semi-colons yields TWO backslashes via dig....
Read more >
Azure DNS FAQ - Microsoft Learn
Azure DNS is a hosting service for DNS domains. It provides name resolution by using Microsoft Azure infrastructure. By hosting your domains in...
Read more >
Active Directory: Characters to Escape - TechNet Articles
The space character must be escaped only if it is the leading or trailing character in any component of a distinguished name.
Read more >
Azure DNS troubleshooting guide - Microsoft Learn
The following steps help you investigate why DNS resolution is failing for a DNS record in a zone hosted in Azure DNS. Confirm...
Read more >
Azure DNS – Cloud DNS as a Service | Microsoft Azure
The Microsoft global network of name servers has the scale and redundancy to ensure ultra-high availability and performance for hosting your domains and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found