Katapult for libdns
This package implements the libdns interfaces for Katapult, allowing you to manage DNS records.
To use this package you will need a Katapult API token, see the Katapult docs for more information.
See the example/main.go
file for a demonstration on how to use the package. The example can be ran by specifying the API token and zone:
LIBDNS_KATAPULT_API_TOKEN=your-api-token LIBDNS_KATAPULT_ZONE=your-domain go run ./example
The example can be modified to try different functions available on the provider.
The tests use the Katapult API, therefore you should create and use a new and empty domain/zone.
You can then set the API token and zone when running the tests:
LIBDNS_KATAPULT_API_TOKEN=your-api-token LIBDNS_KATAPULT_ZONE=your-domain go test