Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 852 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 852 Bytes

Glesys for libdns

This package implements the libdns interfaces for Glesys, allowing you to manage DNS records. It utilizes glesys-go for API communication.

Usage

include (
    glesys "github.com/libdns/glesys"
)
p := &glesys.Provider{
    Project: "your project/username usually clXXXXXX",
    ApiKey: "api-key",
}

zone := "example.org"
records, err := p.GetRecords(ctx, zone)

For more examples check the _examples folder in the source.

Noteworthy

To do everything this library can do the Glesys API user needs permissions to the following...

  • Domain.addrecord
  • Domain.deleterecord
  • Domain.listrecords
  • Domain.updaterecord