Skip to content

libdns/katapult

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Katapult for libdns

Go Reference

This package implements the libdns interfaces for Katapult, allowing you to manage DNS records.

Authentication

To use this package you will need a Katapult API token, see the Katapult docs for more information.

Example

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.

Tests

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages