Skip to content

kmpm/libdns-glesys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages