The History
The History page shows every revision of the settings files, newest first. A revision is one saved version of all the settings files of the server. For each revision, the page shows its time, who made it, what changed and whether the server applied it. An operator or an administrator can also roll the settings back to an older revision. To open the page, click “History” in the sidebar, under “Settings”.
The page reads the newest 200 revisions at three times: on open, after a click on “Read again”, and after a rollback. It does not read again by itself. “Load older revisions” under the table adds the 200 revisions before them.
The header
Section titled “The header”The header says “History” and “Every change of the settings files, newest first.”
On the right is “Read again”. Click it to read the list again, for example after somebody saved a form in another tab.
The table
Section titled “The table”The table has one row for each revision:
- “Revision”: the number of the revision. The number goes up by one at each change.
- “When”: the date and the time of the revision, in the time zone of your browser.
- “Who”: who made the change.
- A name, such as “dana”: the account that saved the change in the console or through the API.
- “On the server”: somebody edited a settings file on the server.
- “From the cluster”: the change came from another node of the cluster.
- “Dynamic update”: a device or another server changed the records of a zone with a DNS message.
- “Certificate order (ACME)”: the server wrote a check record into a zone, to get or renew its own certificate.
- “Serial witness”: the server wrote a new serial into the files of a zone. The serial witness keeps a record of the serials that each zone served, so that a serial never goes back.
- Another word: a newer server sent an origin that this console does not know.
- “What”: what changed. See What changed.
- “State”: what the server did with the revision.
- “Running” in green: the server uses this revision now. The server says which revision runs. An older server does not say it. Then the running revision is the newest applied revision.
- “Applied” in green: the server applied this revision, and a newer one came after it.
- “Refused” in red: the server refused this revision. Under the row, the words of the server say why. The settings did not change. The word opens a short description: tap it, click it, or press Enter on it.
- “Interrupted” in yellow-brown: the change stopped before the server applied it. For example, the server stopped during the change.
- Another word in yellow-brown: a newer server sent a state that this console does not know.
A newer revision can be refused. Then an older revision still runs, and the row “Running” is not the top row.
On a phone, each row stacks. The first line gives the revision, the state and the time. The next lines give who, then what changed.
What changed
Section titled “What changed”The “What” column starts with what changed in the words of the server, such as “set max_retries to 4 in server.toml”. Under it, a gray line names each settings file that the revision changed:
- “Changed server.toml: max_retries, failure_ttl”: the revision changed these settings in the file. The line gives the names of the settings, not their values.
- “Added zones/lab/records.zone” or “Removed zones/lab/records.zone”: the revision added or removed the file. A file of records, or a file the server could not read, shows no settings.
- “Changed server.toml: only comments or layout”: the settings stay the same. Only the comments, the spaces or the order changed.
- “with 3 settings”: the server counted the settings, but did not name them.
- “70 files changed”: the server counted the files, but did not name them.
A refused revision names what it tried to change. The settings did not change.
A long list shows the first 3 files and the first 5 settings of each. Then “and 4 more settings” and “and 2 more files” count the rest. Click “Show all changes” under the list to see every file and every setting. Click “Show fewer changes” to make the list short again. The server names at most 64 files and 32 settings of each, so a very large change still ends with “and N more”.
A revision from an older Tadoru server shows only the words of the server. So do some refused revisions, such as a change that the server refused because another change came first.
Older revisions
Section titled “Older revisions”The page shows the newest 200 revisions first. To see older ones, click “Load older revisions” under the table. The page adds up to 200 revisions before the oldest row that it shows. Click again to go further back. When no older revision is left, the button goes, and the line “No older revisions.” shows in its place.
An older Tadoru server does not give the list in parts. With such a server, the page shows only the newest 200 revisions, and there is no “Load older revisions”.
If the older revisions do not load, the words of the server show above the button. The rows that the page shows stay. Click “Load older revisions” again to try again.
“Read again” and a rollback read the newest 200 revisions again. The older rows go from the page.
The link from a save
Section titled “The link from a save”After you save a settings form, the message “Changes saved as revision 42” has the button “Show in History”. The button opens this page with that revision marked with a gray background. The page scrolls to the row.
If the revision is not in the rows that the page shows, a line says “Revision 42 is not in the revisions shown”. Click “Load older revisions” to look further back. When the row comes, the page marks it.
Roll back to a revision
Section titled “Roll back to a revision”A rollback puts every settings file back to its content at an older revision. The rollback makes a new revision. It does not remove the revisions after the older one. Accounts do not change.
Only an operator and an administrator see “Roll back to this”. A viewer reads the list only.
A row shows “Roll back to this” under it only in this case:
- The server says that a rollback can reach the revision. The server still keeps the settings files of that revision, the revision does not run, and the server did not refuse it.
- The server sent the tag of the running revision with the list. A rollback sends that tag, so the server knows which list you saw. A server of this console always sends it. Without it, no row shows “Roll back to this”.
This works on every row that the page shows, also on the rows of “Load older revisions”. The server keeps the 10 revisions before the running one, so an older row usually shows no button.
An older Tadoru server does not say which revisions a rollback can reach. With such a server, the page guesses: a row shows “Roll back to this” if its state is “Applied”, it is older than the running revision, and it is one of the 10 newest applied revisions under the running revision.
To roll back:
- Find the revision that you want to go back to.
- Click “Roll back to this” under its row.
- Read the question, such as “Roll back to revision 38?”. The text under it says what the rollback does.
- Read “What the rollback changes”. See What the rollback changes.
- Click “Roll back” to roll back, or “Cancel” to stop. “Roll back” works only after the list of changes loads.
When the rollback works, a message says “Rolled back to revision 38 as revision 44”. The page then reads the list again, and the new revision is “Running”. After their next read, the settings forms show the new revision too.
The rollback can turn “Store the names” or “Store the clients” off. Then another message can say “The query log still holds the names of 4,120 rows”. The old rows keep that data until the query log removes them.
If the rollback changes a setting of This node that waits for a restart, such as “UDP workers”, another message says “1 saved setting of This node waits for a restart of the server.”.
What the rollback changes
Section titled “What the rollback changes”The question shows what the rollback changes now, compared with the revision that runs. The line “Compared with revision 43, which runs now.” names that revision. Under it, each settings file that the rollback changes has a line in the words of the “What” column, such as “Changed server.toml”. Under the file, each setting shows its name and two values:
- “Now”: the value that the server uses now.
- “After”: the value that comes back with the rollback.
A value shows as the server writes it, so a text keeps its quotes, such as "nas.example.com".
“Default” means that the file does not hold the setting, so the default value applies. A file of
records, such as records.zone, shows its line only, with no settings. “No settings file
changes.” means that the files of the revision are the same as the files that run now.
A rollback that changes many files shows the first 200. Click “Show more files” to see the next 200. If somebody saves a change while you read, the list loads again from the start.
The list of changes does not show a change of the serial of a zone. The server can also still refuse the rollback, for example where it changes a frozen zone.
The rollback puts back every settings file of the revision. This includes the files after the first 200 that you did not open with “Show more files”, and the serials of zones. If somebody saves a change after the list of changes loaded, the server refuses the rollback with “Another change came first”. Then open the question again to see the new list of changes.
If somebody saved a change after the page read the History list, the question says, for example, “Revision 45 runs now. The list shows revision 43. Read the list again to see the changes in between.” Then “Roll back” waits, because the rollback would also undo changes that the page does not show. Click “Read the list again”. The question closes, and the page reads the list. Then click “Roll back to this” again.
After a restore of a backup, the question can say “The list is out of date. Read the list again before you roll back.” Do the same: click “Read the list again”, then roll back again.
If the list of changes does not load, the question shows the words of the server and “Try again”. For example, the server refuses to list a revision that it refused before. When the server is busy, wait a moment, then click “Try again”. “Roll back” waits until the list of changes loads.
If the server does not show the list of changes, the question says “The server did not show what this rollback changes.”, with the words of the server under it where they come. An older Tadoru server does this, and so does a server that no longer keeps the revision. “Roll back” works as before. If the server no longer keeps the revision, it refuses the rollback with its own words.
When the rollback fails
Section titled “When the rollback fails”- “Another change came first. Look at the list again before you roll back.”: somebody saved a change after the question showed what the rollback changes. The page reads the list again. The list shows your rollback as a “Refused” row. Look at the new rows. If you still want the rollback, roll back again.
- “This change needs an admin”: the revision holds a list with a reach that only an admin gives. An example is a list with “Reach an address inside your network” that the running revision does not hold. The message names each such list, and what the rollback gives it. Ask an admin to roll back.
- A message with the words of the server, for example that the server no longer keeps that revision: the server refused the rollback. The settings did not change. The server keeps only the 10 revisions before the running one. It cannot roll back to a refused revision.
- “The console cannot reach the server.”: the console sent the rollback three times and got no answer. The outcome of the rollback is not known yet. Click “Read again” to see the list. Is the rollback not in the list? Then click “Roll back to this” on the same row again. The console sends the same request again, so the server never applies the rollback twice.
- Another message with the words of the server, for example that your role cannot do this or that the server is busy: the settings did not change. Wait a moment, then try again, or ask an administrator.
When the list does not load
Section titled “When the list does not load”If the page cannot read the list, it shows the words of the server and “Try again”. For example, “The kept configurations could not be listed” means that the server cannot read the store of its older settings files. Click “Try again” to read the list again. Did the list load before? Then the page keeps it and shows the error above it.
If the server has no revision yet, the page says “No revisions yet.”