Giter Club home page Giter Club logo

Comments (8)

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

I've confirmation that supporting list and adds of these records represents minimum needed functionality

from denominator.

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

Here's suggested form in the CLI based on Andrew Braham's advice:

./denominator [zone name] [function] [resource record parameters] [type] [resource record parameters]

zone name - name
function - add, delete, update record
type - A records, CNAME
resource record parameters - foo.com 
resource record parameters - 1.2.3.4

One suggestion would be keeping it in similar bind format (below) and then perhaps adding [file option] for bulk adds. That way you could just ingest a normally formated bind file. You may also want to add a TTL field. Although accepting the default TTL would seem reasonable. Here's one possible command format:

./denominator [zone name] [function] [resource record parameters|file]

single record add
./denominator --zone foo.com --record add hostname.foo.com 3600 IN A 1.2.3.4

bulk record add
./denominator --zone foo.com --record add --file cnames.txt

For the less savvy, you may want to re-order the syntax to align with a typical work flow in Ultra//Dyn. 
1. what zone => what action => what record type => records details

./denominator [zone name] [function] ([record type] [record parameters] | [file])
./denominator --zone foo.com --record add --type A --name hostname.foo.com 1.2.3.4 --ttl 3600
./denominator --zone foo.com --record add --type CNAME --name cname.foo.com hostname.foo.com --ttl 3600

Or maybe offer both formats. The former being a classic mode for those folks that are used to mangling DNS.

from denominator.

senthilvel avatar senthilvel commented on July 21, 2024

The above comment makes lot of sense. I would add the update option also.

from denominator.

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

@jdamick you mind handling one of the tasks?

from denominator.

jdamick avatar jdamick commented on July 21, 2024

sure

from denominator.

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

elaborated subtasks

from denominator.

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

route53 is in per issue #33

from denominator.

codefromthecrypt avatar codefromthecrypt commented on July 21, 2024

oops. the zone file syntax work bumped to here: #77

from denominator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.