mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
convertzone: Add build instructions.
This commit is contained in:
@ -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)
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user