dns: refactor GetRecords() to allow commands other than sync
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package dns
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
// ErrNoDNSProvider indicates a [libdns.Provider] wasn't assigned
|
||||
// to the [Manager]
|
||||
ErrNoDNSProvider = errors.New("dns provider not specified")
|
||||
|
||||
// ErrNoDomain indicates a domain wasn't specified
|
||||
ErrNoDomain = errors.New("domain not specified")
|
||||
)
|
||||
Reference in New Issue
Block a user