Skip to content
murrown edited this page Feb 7, 2013 · 1 revision

Here is the script I've been using to migrate Maintain and build bind zone files.

cd chili/maintain_migration
python zone.py -DfdcX
cd ..
python cyder/cydns/cybind/dnsbuilds/main.py --clobber-stage
rndc reload
cd ../diffdns
python diffdns.py --ns1 haster.nws.oregonstate.edu \
    --ns2 ns1.oregonstate.edu --zones-file /tmp/dns_prod/cyzones/config/master.public \
    > ../output.txt
cd ..

WARNING: Make sure your bind config is set up to allow underscores in hostnames, or else the check-name validation can cause bind to ignore entire zone files.

Clone this wiki locally