A libdns library for CoreDNS backed by etcd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Mills 8dfec3436d
Fix CI this time
1 month ago
example Move example to example/ 1 month ago
.drone.yml Fix CI this time 1 month ago
.gitignore Add stubs for etcd client 2 months ago
LICENSE Update License 2 months ago
README.md Update README 1 month ago
client.go Add stubs for etcd client 2 months ago
go.mod Add support for DeleteRecords() and refactor existing code 2 months ago
go.sum Add support for DeleteRecords() and refactor existing code 2 months ago
provider.go Add support for DeleteRecords() and refactor existing code 2 months ago

README.md

libdns-coredns

Build Status Go Reference

libdns-coredns is a libdns Go library and comman d-line tool for interacting with a CoreDNS setup backed by etcd.

This package implements the libdns interfaces for CoreDNS backed by etcd, allowing you to manage DNS records.

Installation

go get git.mills.io/prologic/libdns-coredns

usage

package main

import (
	"context"

	"git.mills.io/prologic/libdns-coredns"
)

func main() {
	ctx := context.Background()

	zone := "test."

	// configure the DNS provider (choose any from github.com/libdns)
	provider := coredns.Provider{
		Endpoints:  []string{"http://127.0.0.1:2379"},
		PathPrefix: "/coredns",
	}

	// ...
}

See example for a full example.

License

libdns-coredns is licensed under the terms of the MIT License