|Nico Boehr 0162fb0ee1||3 years ago|
|inwxapi @ 02273b03d2||3 years ago|
|.gitignore||3 years ago|
|.gitmodules||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|config.sample.ini||3 years ago|
|pdns-to-inwx.py||3 years ago|
|switch-nameservers.py||3 years ago|
This script allows you to migrate your PowerDNS zones to INWX nameservers.
This works by connecting to a MySQL database, where we expect to find the PowerDNS zone data. This means that this script is only useful to you if you use the Generic MySQL backend in PowerDNS.
All scripts need a configuration file. You may find an example in
Copy zones from PowerDNS MySQL database to INWX.
usage: pdns-to-inwx.py [-h] [--delete-existing] [--switch-ns] [--skip-domains SKIP_DOMAINS] conffile positional arguments: conffile the configuration file to use optional arguments: -h, --help show this help message and exit --delete-existing delete zones that already exist. DANGEROUS. --switch-ns update domains to use INWX nameservers --skip-domains SKIP_DOMAINS skip this domain. can be used multiple times.
Perform an UPDATE on all domains in the PowerDNS database to switch to INWX nameservers.
This is useful for a two-step process: first copy all records from PowerDNS to INWX, then test if all records were copied correctly and then switch to the INWX nameservers if everything is OK.
usage: switch-nameservers.py [-h] [--skip-domains SKIP_DOMAINS] conffile positional arguments: conffile the configuration file to use optional arguments: -h, --help show this help message and exit --skip-domains SKIP_DOMAINS skip this domain. can be used multiple times.
I used this script to migrate my zones in April 2017. It worked just fine, but your mileage may vary.
I strongly recommend testing this script throughoutly in a testing environment. There is no guarantee.
This software is licensed under GNU GPL, version 2.
Copyright (C) 2017 Nico Boehr
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.