Problem
How do I backup or download my zone files?
Prerequisites
- You must already have a masterDNS service with zone records already configured.
- In addition you need to know your public IP address of the workstation you are currently using.
- Your local workstation will need named-xfer installed (part of bind tools)
Solution
This example shows you how to backup and download your zone file records from Prolateral's Master DNS service to your local workstation.
First we need to configure the MasterDNS service to "allow zone transfers" to your local workstation
- Log into the portal (http://portal.prolateral.com)
- Select the Primary DNS menu under the DNS main menu
- Select the Settings button of the desired Primary DNS zone.
- Click the "Access Control" Button
- Click the "+ Additional Server" button
- Enter the Public IP Address of your workstation and click the "submit" button.
- Now move over to your local workstation and open a terminal session (or SSH sesssion)
Type the following command, changing example.com to your desired domain name
named-xfer -z example.com -f example.com.txt ns1.dns-engine.com
Notes on named-xfer
named-xfer comes with most unix distributions, or you can download direct from the ISC .
However on Windows you can use nslookup ls example.com