zonemaster / zonemaster-engine

The Zonemaster Engine - part of the Zonemaster project
Other
33 stars 31 forks source link

Create process for keeping synch with IANA IP address space databases #301

Open matsduf opened 7 years ago

matsduf commented 7 years ago

With PR #282 Zonemaster will mirror the IANA IP address space databases (1), but there is no process to keep them in sync. Should Zonemaster include a cron script that could be run regularily to keep the mirrored database with the IANA dito? Or should the synchronization only be done at installation time?

1) The databases: http://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry-1.csv http://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry-1.csv


2022-07-05:

Create a test that verifies if the they are equal or not, and then consider adding it to the unit tests only to be run by the CI. Another option is a manual check in the release process.

vlevigneron commented 7 years ago

Yes this is the plan. The current code must be considered as a first step of a more complex process we need to describe and put in place to keep the 2 files synchronized with the IANA database.

pawal commented 7 years ago

Including a script in the source code that optionally could be run as a cron job sounds good. Since the engine is a library it should not install scripts, imho. Especially since a typical installation will set these files as owned by root.

sandoche2k commented 7 years ago

@vlevigneron can you have a look

sandoche2k commented 6 years ago

@sandoche2k move to 2018

sandoche2k commented 6 years ago

@vlevigneron do you think it is possible to fix for 2018.1?

sandoche2k commented 6 years ago

The fix is made for 384