Skip to content
Snippets Groups Projects
Commit d7698815 authored by Libor Peltan's avatar Libor Peltan
Browse files

catalog: document that all zones are reloaded upon catz update

parent 0b4a3efd
Branches
Tags
No related merge requests found
......@@ -656,6 +656,14 @@ When setting up catalog zones, it might be useful to set
:ref:`database_catalog-db` and :ref:`database_catalog-db-max-size`
to non-default values.
.. NOTE::
Whenever a catalog zone is updated, the server reloads itself with
all configured zones, including possibly existing other catalog zones.
It's similar to calling `knotc zone-reload` (for all zones).
The consequence is that new zone files might be discovered and reloaded,
even for zones that do not relate to updated catalog zone.
.. WARNING::
The server does not work well if one member zone appears in two catalog zones
......
......@@ -58,14 +58,14 @@ master.ctl("zone-reload %s" % zone[1].name)
t.sleep(5)
check_exists(master, "member1.example.", True, "First")
check_exists(master, "member2.example.", False, "First")
check_exists(master, "member3.example.", False, "First")
check_exists(master, "member2.example.", True, "First")
check_exists(master, "member3.example.", True, "First")
master.ctl("zone-reload %s" % zone[2].name)
t.sleep(5)
check_exists(master, "member1.example.", True, "Second")
check_exists(master, "member2.example.", True, "Second")
check_exists(master, "member3.example.", False, "Second")
check_exists(master, "member3.example.", True, "Second")
t.end()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment