1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

getting-started.md: Add advice about converting old zones.

This commit is contained in:
Tom Limoncelli
2017-04-13 10:58:15 -04:00
parent c044cca2dd
commit 85d0944bee

View File

@ -34,3 +34,16 @@ This will print out a list of "corrections" that need to be performed. It will n
## 4. Run `dnscontrol push`
This will actually generate `zones/example.com.zone` for you. The bind provider is more configurable, and you can read more information [here.]({{site.github.url}}/providers/bind)
# Converting from other providers
Once you have the system working for a test zone, try converting
other zones. Most providers have an option to export all DNS records
as a BIND-style zone file. The utility
[convertzone](https://github.com/StackExchange/dnscontrol/blob/master/misc/convertzone/README.md)
(in the `misc` subdirectory) can read a zonefile and output the
first draft of a `D()` statement for a zone.
Add the output to the `dnsconfig.js` and clean it up until
`dnscontrol preview` lists no changes. At that point,
it matches the running zone precisely and the conversion is done.