Skip to content

Commit

Permalink
add caa record type to disallow list to prevent propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
n3integration committed Apr 3, 2020
1 parent 99d1799 commit cd8cde9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func IsDefaultNSRecord(record *DomainRecord) bool {

// IsDisallowed prevents empty NS|SOA record lists from being propagated, which is disallowed
func IsDisallowed(t string, records []*DomainRecord) bool {
return len(records) == 0 && strings.EqualFold(t, NSType) || strings.EqualFold(t, SOAType)
return len(records) == 0 && strings.EqualFold(t, NSType) || strings.EqualFold(t, SOAType) || strings.EqualFold(t, CAAType)
}

func isSupportedType(recType string) bool {
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

version=1.7.2
version=1.7.3

os=$(uname -s | tr '[:upper:]' '[:lower:]')
mach=$(uname -m)
Expand Down

0 comments on commit cd8cde9

Please sign in to comment.