10. Registry Data Escrow¶
Registry Data Escrow (RDE) is a process of creating copy of core registry data for a certain domain at a certain point in time (so called deposit), which can be used to restore zone the zone file in case of emergency and provide a basic registry functions.
The deposit is cryptographically secured (signed and encrypted) and uploaded to a trustworthy 3rd party (Escrow Agent) on regular basis for potential use.
For more information, see RFC 8909.
RDE in FRED is implemented as CLI application. Use -h/--help option to list available commands and options.
After installation, simply run:
(venv) $ fred-rde [OPTIONS] COMMAND [ARGS]...
10.1. Prerequisites¶
No specific packages are required, only python.
10.2. Installation steps¶
The steps below are one of the possible ways of package installation. Alternatively, you can use pipx or uv tool install.
Set up a configuration file
rde.conf, options are available inrepository <https://gitlab.nic.cz/fred/rde>.
Tip
Please note that the deposit(s) can be a large file. Based on the size of the registry and the frequency of deposit creation, it is necessary to allocate sufficient storage space or a policy for data archiving and handling.
Run
rdemigrations from the python virtual environment provided by thefred-rdepackage#> app python3 -m venv venv source venv/bin/activate pip install --index-url=https://pypi.nic.cz/cznic/public fred-rde export ALEMBIC_CONFIG=$($VIRTUAL_ENV/bin/python -c 'import rde; from pathlib import Path; print(Path(rde.__file__).parent / "alembic.ini")') echo "Migrations started" echo "Alembic config: $ALEMBIC_CONFIG" alembic history -i echo "Running migrations..." alembic upgrade head alembic history -i deactivate echo "Migrations completed"
Logger database will automatically register
RDEafter its first run, so there is no need to set up anything there.