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

Add CAA entry type #371

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ and with Route 53 provider dependencies:
[--auth-username AUTH_USERNAME]
[--auth-token AUTH_TOKEN]
{create,list,update,delete} domain
{A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC}
{A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC,CAA}

positional arguments:
{create,list,update,delete}
specify the action to take
domain specify the domain, supports subdomains as well
{A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC}
{A,AAAA,CNAME,MX,NS,SPF,SOA,TXT,SRV,LOC,CAA}
specify the entry type

optional arguments:
Expand Down
2 changes: 1 addition & 1 deletion lexicon.1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DOMAIN
specify the domain to use, supports subdomains as well
.TP
TYPE
specify the entry type, from {A, AAAA, CNAME, MX, NS, SPF, SOA, TXT, SRV, LOC}
specify the entry type, from {A, AAAA, CNAME, MX, NS, SPF, SOA, TXT, SRV, LOC, CAA}
.TP
\fB\-h\fR, \fB\-\-help\fR
print provider-specific help message and exit
Expand Down
2 changes: 1 addition & 1 deletion lexicon/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def generate_base_provider_parser():
parser.add_argument(
'domain', help='specify the domain, supports subdomains as well')
parser.add_argument('type', help='specify the entry type', default='TXT',
choices=['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'TXT', 'SRV', 'LOC'])
choices=['A', 'AAAA', 'CNAME', 'MX', 'NS', 'SOA', 'TXT', 'SRV', 'LOC', 'CAA'])

parser.add_argument('--name', help='specify the record name')
parser.add_argument('--content', help='specify the record content')
Expand Down