dnscontrol/docs/writing-providers.md

27 lines
700 B
Markdown
Raw Normal View History

2017-03-14 15:43:03 +08:00
---
layout: default
---
# Writing new DNS providers
Writing a new DNS provider is a relatively straightforward process. You essentially need to implement the [providers.DNSServiceProvider interface.](https://godoc.org/github.com/StackExchange/dnscontrol/providers#DNSServiceProvider)
...
More info to follow soon.
2017-04-14 00:57:58 +08:00
## Documentation
Please add a page to the docs folder for your provider, and add it to the list in the main project readme.
## Vendoring Dependencies
2017-04-14 01:02:08 +08:00
If your provider depends on other go packages, then you must vendor them. To do this, use [govendor](https://github.com/kardianos/govendor).
```
go get github.com/kardianos/govendor
govendor add +e
```
is usually sufficient.