convertzone: Add build instructions.

This commit is contained in:
Tom Limoncelli 2017-04-13 11:26:53 -04:00
parent 85d0944bee
commit bfc5a59521
2 changed files with 20 additions and 3 deletions

View file

@ -86,8 +86,15 @@ Writing new plugins is very easy.
# Installation
## From source
This command will download the source code, compile it, and put the resulting
binary in `~/bin/`
```cmd
go get github.com/StackExchange/dnscontrol
```
or get prebuilt binaries from [github releases](https://github.com/StackExchange/dnscontrol/releases/latest).
## Via packages
Get prebuilt binaries from [github releases](https://github.com/StackExchange/dnscontrol/releases/latest)

View file

@ -60,7 +60,17 @@ create a dnsconfig.js file that exactly replicates your existing configuration.
Only when that is complete should you make any changes to the DNS zone data.
This is not required, but it is a lot safer.
### Phase 1: Convert exactly as-is.
### Step 0: Build the software.
Build the software and install in your personal bin:
```cmd
$ cd misc/convertzone/
$ go build
$ cp convertzone ~/bin/.
```
### Step 1: Convert exactly as-is.
In this phase the goal is to create a dnsconfig.js that exactly
replicates the existing DNS data.
@ -75,7 +85,7 @@ time leads to difficult-to-find errors.
If convertzone could have done a better job, please let us know!
### Phase 2: Make any changes you desire.
### Step 2: Make any changes you desire.
Once `dnscontrol preview` lists no changes, do any cleanups
you want. For example, remove obsolete records or add new ones.