Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow zone format syntax in CLI #77

Open
2 tasks
codefromthecrypt opened this issue Mar 8, 2013 · 2 comments
Open
2 tasks

allow zone format syntax in CLI #77

codefromthecrypt opened this issue Mar 8, 2013 · 2 comments

Comments

@codefromthecrypt
Copy link
Contributor

This is both for recordset as well bulk operations:

Tasks:

  • add record using zone format. ex. denominator record -z foo.com add hostname.foo.com 3600 IN A 1.2.3.4
  • bulk add record using zone format. ex. denominator record -z foo.com add --file cnames.txt
@jdamick
Copy link
Contributor

jdamick commented Aug 13, 2013

+1

@strangecode
Copy link

Here's a redacted real-world bind zone file denominator should be able to parse:

$TTL 1m
example.com.    IN SOA ns.example.com. whois.example.com. (
                        2009032363      ; serial, todays date + todays serial #
                        2h              ; refresh
                        1h              ; retry
                        30d             ; expire
                        1h )            ; minimum

example.com.  IN  NS    ns.example.com.
example.com.  IN  NS    ns2.example.com.

localhost         IN  A     X.X.X.X
example.com.  IN  A     X.X.X.X
example.com.  IN  MX 10 mx.example.com.
seven.example.com.  IN  MX 10 seven.example.com.
one.example.com.  IN  MX 10 one.example.com.
example.com.  IN  TXT "v=spf1 a mx a:seven.example.com a:three.example.com a:four.example.com a:five.example.com include:gmail.com ~all"
;one.example.com.     IN  A  X.X.X.X
;two.example.com.     IN  A  X.X.X.X
three.example.com.     IN  A  X.X.X.X
four.example.com.   IN  A  X.X.X.X
five.example.com.  IN  A  X.X.X.X
six.example.com.   IN  A  X.X.X.X
seven.example.com.    IN  A  X.X.X.X
control.example.com.        IN  CNAME  control.three.example.com.
trac.one.example.com.       IN  CNAME  trac.seven.example.com.
*.dev.example.com.          IN  CNAME  seven.example.com.
chess.example.com.          IN  CNAME  four.example.com.
haywire.example.com. IN CNAME webmail.example.com. ; Inline comment
; CDN domains
cdn.www.example.com.        IN  CNAME  abc.def.ghi-cdn.com.
cdn.one.example.com.        IN  CNAME  one.def.ghi-cdn.com.
cdn.seven.example.com.       IN  CNAME  one.def.ghi-cdn.com.
ten.cdn.example.com.      IN  CNAME  ten.def.ghi-cdn.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants