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.

User Specific Configuration Limits/Restrictions

See original GitHub issue

Not sure the “user specific” part of it is right, however I’ll explain so maybe it’s clear

So this was a thought out of me doing some work with our DNS zones around TTLs. It had really become the wild west, and there was a large range of TTLs (5 secs to 24 hours).

I was wondering if a new feature might be a configuration section where you can specify things like:

  • Minimum TTL
  • Maximum TTL
  • Valid Regions (GeoDNS)
  • Etc.

This might tie into #75, where we specify extra configurations like default TTL.

I’m mostly thinking about the TTL use case. If I try to run noop or doit, it will error saying it is less than or greater than Min/Max TTL, and if I dump it will error during the dump, and if you say lenient it will dump it with the current value, but again, you hit the error applying.

Wondering if there is a place for something like that.

---
config:
  default_ttl: 3600
  min_ttl: 300
  max_ttl: 86400

providers:
  config:
    class: octodns.provider.yaml.YamlProvider
    directory: ./config

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rosscommented, Sep 14, 2022

and I believe a list of acceptable ones, eg [300,3600,86400]

That’s easy enough to add to https://github.com/octodns/octodns/pull/933

0reactions
yzguycommented, Sep 14, 2022

@ross I actually haven’t done anything with OctoDNS + Geo 😛 so I don’t have any strong opinions about if it’s necessary. The specific use-case I had for this was just setting a minimum, a maximum, and I believe a list of acceptable ones, eg [300,3600,86400]

Read more comments on GitHub >

github_iconTop Results From Across the Web

limits.conf File To Limit Users, Process In Linux With Examples
conf. limits.conf is a configuration that is used to limit the resources to the user, groups. Now let's understand the file structure of...
Read more >
How to configure user resource limits and restrictions in Linux
User resource limits determine the amount of resources that can be used in a particular user session. ... On the command line, we...
Read more >
V8.5.0.x Configuration Limits and Restrictions for IBM System ...
This document lists the configuration limits and restrictions specific to SAN Volume Controller software version 8.5.0.x.
Read more >
Collection and configuration limits - Firebase Help
Collection limits ; User properties, 25 per app instance, No ; Length of user-property names, 24 characters, N/A ; Length of user-property values,...
Read more >
Service Limits - AWS Config
Service Limits ; Maximum number of conformance packs per account · Maximum number of AWS Config Rules per conformance pack · Maximum number...
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