Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gomodules/dns
Unified DNS API client for GO
https://github.com/gomodules/dns
dns golang
Last synced: 19 days ago
JSON representation
Unified DNS API client for GO
- Host: GitHub
- URL: https://github.com/gomodules/dns
- Owner: gomodules
- License: mit
- Created: 2016-12-13T12:05:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T21:54:52.000Z (over 1 year ago)
- Last Synced: 2024-10-20T07:50:58.484Z (about 1 month ago)
- Topics: dns, golang
- Language: Go
- Homepage:
- Size: 7.15 MB
- Stars: 40
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/gomodules.xyz/dns)](https://goreportcard.com/report/gomodules.xyz/dns)
[![Build Status](https://travis-ci.org/gomodules/dns.svg?branch=master)](https://travis-ci.org/gomodules/dns)# go-dns
Unified DNS API client for GOlang. See here for the documentation of [common provider interface](https://godoc.org/gomodules.xyz/dns/provider).
```go
type Provider interface {
EnsureARecord(domain string, ip string) error
DeleteARecord(domain string, ip string) error
DeleteARecords(domain string) error
}
```### Supported DNS Providers
- [x] AWS Route53
- [x] Azure
- [x] Cloudflare
- [x] DigitalOcean
- [x] Google Cloud DNS
- [x] Linode
- [x] Vultr### Acknowledgement
The initial implementation of this library was forked from https://github.com/xenolf/lego/tree/master/providers/dns