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

domains records #161

Merged
merged 2 commits into from
Jul 27, 2023
Merged

domains records #161

merged 2 commits into from
Jul 27, 2023

Conversation

tbeseda
Copy link
Member

@tbeseda tbeseda commented Jul 27, 2023

begin domains records <parameters> [options]
  Manage DNS records for a domain

Records parameters:
  --domain              Domain name to list records for
  -a, --add             Add a record
  -r, --remove          Remove a record
  -t, --type            Record type; currently only TXT is supported
  -n --name             Record name, ie. example.com
  --ttl                 Record TTL; defaults to 300
  --value               Record value

Global options:
  -h, --help            Display help
  -q, --quiet           Set output log level to quiet
  -v, --verbose         Set output log level to verbose
  -d, --debug           Set output log level to debug
  --json                Enable JSON output

Examples:
  List all records for a domain
  $ begin domains records --domain example.com

  Add a TXT record
  $ begin domains records --domain example.com --add --type TXT --name example.com --value foobarbaz

  Remove a TXT record
  $ begin domains records --domain example.com -r -t TXT -n example.com --value foobarbaz"

Sample

image

@tbeseda tbeseda self-assigned this Jul 27, 2023
@tbeseda tbeseda marked this pull request as ready for review July 27, 2023 16:15
@tbeseda tbeseda merged commit cf0e340 into main Jul 27, 2023
30 checks passed
@tbeseda tbeseda deleted the domains-records branch July 27, 2023 16:16
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

Successfully merging this pull request may close these issues.

1 participant