Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dynv6 REST API for libdns

Go Reference

This package implements the libdns interfaces for Dynv6 REST API, allowing you to manage DNS records.


Install using go get (Go >= 1.20)

go get -u github.com/ZxwyProject/libdynv6

Token is required for authorization.

You can generate one at: https://dynv6.com/keys

import "github.com/ZxwyProject/libdynv6"

p := libdynv6.Provider{
    Token: `<your http token>`,
}

zs, err := p.ListZones(context.Background())
if err != nil {
    log.Fatalln(err)
}
for i, z := range zs {
    log.Printf("[%d] %s\n", i, z.Name)
}

Debug mode is enabled by default. You can disable it through the following actions:

import "github.com/ZxwyProject/dynv6"

dynv6.Debug = false

About

🌐 Dynv6 provider implementation for libdns

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages