[BlueOnyx:24819] Re: Bulk Secondary MX Entries
Michael Stauber
mstauber at blueonyx.it
Mon Mar 8 00:39:59 -05 2021
Hi Richard,
> Is there a way to import multiple domains as a secondary email service
> rather than adding them one at a time?
Check the following two scripts, which are part of BlueOnyx:
/usr/sausalito/sbin/dns-slavezones.pl
/usr/sausalito/sbin/dns-import-slavezones.pl
The first one polls CODB and prints out the slave-zones. Save the output
to a file like this:
/usr/sausalito/sbin/dns-slavezones.pl > slaves.txt
On the box where you want to import the slave-zones, copy that
slaves.txt to /usr/sausalito/sbin/ and run the script
/usr/sausalito/sbin/dns-import-slavezones.pl to import the records.
That should do the trick.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list