diff --git a/cli/record/list.go b/cli/record/list.go index 199055d5..1baa6114 100644 --- a/cli/record/list.go +++ b/cli/record/list.go @@ -29,6 +29,10 @@ You must specify a zone (e.g. example.com) under which your domain name records are listed. This zone must already be created on your provider account. `, Action: func(c *cli.Context) error { + if err := internal.EnsureDNSProvider(); err != nil { + logrus.Fatal(err) + } + zone, err := internal.EnsureZoneArgument(c) if err != nil { logrus.Fatal(err)