Import multiple zones simultaneously. #96
Comments
Hi, Those three are the only tables you'd need to insert data into. However, there is an import tool (Admin->Tools) that will import zone data. Is that tool not sufficient for your needs? |
Hi Import tool (Admin-> Tools), is a good option, but only allows me to import the records of a zone for each upload. ie, to import a single zone I need to do the following steps:
And these steps for each zone requires a little work. I will try to develop a small php script to import all the zones and records directly from a "#rndc dumpdb -zones". This could significantly reduce migration time. Thanks for the info tables. |
You can actually skip your step 2 of creating the SOA as the import tool imports SOA records. However, it's still a two-step process per zone, so spending the time to create your own import tool might prove to be faster (depending on how many zones you have). I might look into creating/implementing a migration tool as well, unless you'd like to contribute to the project by providing your completed one. |
Hello. me again =). Here I leave a php script that imports all areas to the fmdns bind from a dump file. "#rndc dumpdb -zones". In addition: Tuning required to perform database. Thanks you for you time. |
This is fantastic! Thank you for the help and letting me know the results of a large scale deployment of fmDNS. I've added the index for the next release and will take a look at your import script. |
the function "buildconf" also is very slow. I guess also need to create indexes on several other tables. I will be posting any updates. |
Code based on bind2fmdns provided by @framirezu
The zone import wizard now includes this in 3.0-alpha1 and later. |
This is now included in 3.0 and later. |
Hello.
I manage several servers with DNS zones created around 2000, and I would like to migrate this information into fmdns.
I have been researching and using "rndc dumpdb" and some "bash script" I can create "inserts" into the database.
But before I try to develop this, Do you have any script or tool for this case?. Could you help me telling me which tables are would have to insert?. I've found 3 so far. (fm_dns_domains, fm_dns_records, fm_dns_soa)
Thank you for your attention and for your great work.
PD. sorry for my poor english.
The text was updated successfully, but these errors were encountered: