Installation Instructions
Could you add installation instructions for us Go uninitiated? I've written it and added it below. I just had to install this on a new VM and if I miss a step I run into all sorts of weird issues. Having step by step instructions are very useful. (For anyone trying to install, make sure to rm everything you've already tried before using these or you'll get errors. That means your gopath src for dnscaa as well as the git clone must be removed before re-installing)
apt-get update apt-get install golang mkdir /root/go export GOPATH=/root/go go get github.com/weppos/dnscaa git clone https://github.com/weppos/dnscaa.git cd dnscaa go build cmd/digcaa/digcaa.go To run CAA tool: ./digcaa google.com
go get github.com/weppos/dnscaa is important before go build cmd/digcaa/digcaa.go
If you're a Go newb (like me) and followed the instructions in the first comment, you'll get the following error message:
cmd/digcaa/digcaa.go:8:2: no required module provides package github.com/weppos/dnscaa: go.mod file not found in current directory or any parent directory; see 'go help modules'
This is because Go 1.16 (the latest version as of this writing) uses modules by default. You need to execute the following commands (instead of go get github.com/weppos/dnscaa) in the dnscaa directory:
go mod init github.com/weppos/dnscaa
go mod tidy
The rest of the instructions remain the same and valid.