We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dnst update
While reviewing #10 I mentioned that:
An initial idea would be the following interface variants:
Synopsis:
dnst update [options] add <domain name> <RRTYPE> <RRs>...
dnst update [options] delete <domain name> <RRTYPE> [<RRs>...]
dnst update [options] clear <domain name>
Examples:
dnst update add <domain name> AAAA "::1" "::2"
dnst update add <domain name> TXT "challenge"
dnst update delete <domain name> AAAA ::1 ::2
::1
::2
dnst update delete <domain name> AAAA
dnst update clear <domain name>
(like above, but as options for different RR types at once)
Alternatively prove RRs as options, to be able to update multiple different RR types at once:
dnst update add <domain name> --a 1.1.1.1 --aaaa ::1 --txt "hello world"
dnst update delete <domain name> --a 1.1.1.1 --aaaa ::1 ...
dnst update clear <domain name> --a --aaaa
The update [options] could then set the --ttl and maybe even --class (but that is probably rarely helpful).
[options]
I like variant (A) more.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While reviewing #10 I mentioned that:
dnst update
to be able to update more than just A/AAAA records, like TXT records (e.g. for acme challenges).An initial idea would be the following interface variants:
Variant A
Synopsis:
dnst update [options] add <domain name> <RRTYPE> <RRs>...
dnst update [options] delete <domain name> <RRTYPE> [<RRs>...]
dnst update [options] clear <domain name>
(this distinction is to avoid accidental deletion of whole domain names, but might be unnecessary)Examples:
dnst update add <domain name> AAAA "::1" "::2"
dnst update add <domain name> TXT "challenge"
dnst update delete <domain name> AAAA ::1 ::2
::1
and::2
in this case)dnst update delete <domain name> AAAA
dnst update clear <domain name>
Variant B
(like above, but as options for different RR types at once)
Alternatively prove RRs as options, to be able to update multiple different RR types at once:
dnst update add <domain name> --a 1.1.1.1 --aaaa ::1 --txt "hello world"
dnst update delete <domain name> --a 1.1.1.1 --aaaa ::1 ...
dnst update clear <domain name> --a --aaaa
The update
[options]
could then set the --ttl and maybe even --class (but that is probably rarely helpful).I like variant (A) more.
The text was updated successfully, but these errors were encountered: