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.

NS1 Provider: Dynamic Records - NotifyList too many characters

See original GitHub issue

I have run into an issue while testing out dynamic records using the NS1 provider that manifests itself with the following error.

"ns1.rest.errors.ResourceException: server error: Input validation failed (Value u'dynamic-routing-record.poc-test-octo.example.com - A - 10.10.10.10' for field '<obj>.name' must have length less than or equal to 64)"

The error appears to be a limitation of the NS1 API not accepting strings longer than 64 characters for their healthchecks / monitors. The way that octodns assembles the string used for the name of the healthcheck, more times than not, I’d run into this issue with the majority of my dynamic services.

When I reduce the number of characters in either the name of the dynamic record itself or the target values in the dynamic pools, I can get past this issue, but this is not ideal or always possible.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
davidporschecommented, Jul 29, 2021

I was able to confirm this error when manually hitting the notification list api! I have contacted NS1 and provided them my findings too! Hopefully they can increase the allowed characters limit. If not, perhaps some of the hashing logic previously mentioned might be needed?

0reactions
rosscommented, Aug 1, 2021

Found a general issue with NS1 record cleanup while digging into things related to this issue https://github.com/octodns/octodns/pull/748

Read more comments on GitHub >

github_iconTop Results From Across the Web

provider/ns1/record Requires multiple answers arguments ...
So what's the actual answer? I fail to see the suggestion for better syntax in #13786 over the multiple answers={ answer = ""...
Read more >
NS1 + Terraform Toolkit - NS1 Help Center
The NS1 + Terraform toolkit allows you to configure DNS-as-code infrastructure to sync record and zone configurations across multiple DNS ...
Read more >
BIND 9 Administrator Reference Manual - Read the Docs
In this document, Chapter 1 introduces the basic DNS and BIND concepts. Chapter 2 describes resource requirements for running BIND in ...
Read more >
ns1_notifylist | Resources | ns1-terraform/ns1
Provides a NS1 Notify List resource. This can be used to create, modify, and delete notify lists. Example Usage. resource "ns1_notifylist" " ...
Read more >
OES 11 SP2: Novell DNS/DHCP Services for Linux ...
A Novell DNS server can be authoritative for multiple domains. ◇ Novell DNS servers maintain a cache of data from eDirectory so they...
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