diff options
Diffstat (limited to 'cmd/sigsum_log_go/main.go')
-rw-r--r-- | cmd/sigsum_log_go/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/sigsum_log_go/main.go b/cmd/sigsum_log_go/main.go index 5af8563..b22dd40 100644 --- a/cmd/sigsum_log_go/main.go +++ b/cmd/sigsum_log_go/main.go @@ -25,6 +25,7 @@ import ( "git.sigsum.org/sigsum-log-go/pkg/state" trillianWrapper "git.sigsum.org/sigsum-log-go/pkg/trillian" "git.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/dns" ) var ( @@ -134,6 +135,9 @@ func setupInstanceFromFlags() (*sigsum.Instance, error) { return nil, fmt.Errorf("NewStateManager: %v", err) } + // Setup DNS verifier + i.DNS = dns.NewDefaultResolver() + // Register HTTP endpoints mux := http.NewServeMux() http.Handle("/", mux) |