Learn more about these different git repos.
Other Git URLs
It can be handy during transition to IPA and also for testing puporses.
DNS Python seems reasonable: http://agiletesting.blogspot.com/2005/08/managing-dns-zone-files-with-dnspython.html
Only problem (AFAIK) is DNS TTL value conversion. Our LDAP schema supports TTL only per-name (not per-record as is usual in zones). I recommend to compute min() over all records with same name and use this minimal TTL in LDAP.
Initial script to do the gist of the work: https://github.com/darkcharl/zone2ldif. See if you can use it!
zone2ldif.py from pspacek zone2ldif.py
Hello Darkcharl! Thank you very much for your contribution.
I forgot to post my quick&dirty script for zone->LDIF conversion. It does basically the same thing as your script (not the difference in parameter no. 3) but I belive that my version is more general and works better with multiple values per-record etc.
Patches and improvements are more than welcome! Have a nice day.
Latest version of the script is at: https://github.com/spacekpe/zone2dyndb-ldif
Latest version of the script moved to new address: https://github.com/pspacek/zone2dyndb-ldif
The repo was moved to FreeIPA organization: https://github.com/freeipa/zone2dyndb-ldif/
Metadata Update from @pspacek: - Issue assigned to someone - Issue set to the milestone: The Backlog
Login to comment on this ticket.