Skip to content
Snippets Groups Projects
Commit 1ef400ae authored by Petr Špaček's avatar Petr Špaček
Browse files

Merge branch 'upgrading' into 'master'

doc: upcoming changes

See merge request !1057
parents 10afcb0d 524dbbcf
Branches
Tags
1 merge request!1057doc: upcoming changes
Pipeline #68395 passed with stages
in 58 minutes and 9 seconds
......@@ -6,10 +6,33 @@
Upgrading
*********
This section summarizes steps required for upgrade to newer Knot Resolver versions.
This section summarizes steps required when upgrading to newer Knot Resolver versions.
We advise users to also read :ref:`release_notes` for respective versions.
Section *Module changes* is relevant only for users who develop or use third-party modules.
Upcoming changes
================
Following section provides information about selected changes in not-yet-released versions.
We advise users to prepare for these changes sooner rather than later to make it easier to upgrade to
newer versions when they are released.
* Users of :ref:`control-sockets` API need to terminate each command sent to resolver with newline
character (ASCII ``\n``). Correct usage: ``cache.stats()\n``.
Newline terminated commands are accepted by all resolver versions >= 1.0.0.
* Human readable output from :ref:`control-sockets` is not stable and changes from time to time.
Users who need machine readable output for scripts should use Lua function
``tojson()`` to convert Lua values into standard JSON format instead of attempting to parse
the human readable output. For example API call ``tojson(cache.stats())\n`` will return JSON string
with ``cache.stats()`` results represented as dictionary.
Function ``tojson()`` is available in all resolver versions >= 1.0.0.
* DoH served with http module :ref:`DNS-over-HTTP (DoH) <mod-http-doh>` will be marked as legacy
and won't receive any more bugfixes. A more reliable and scalable DoH module will be available
instead. The new DoH module will only support HTTP/2 over TLS.
* New releases since Octomer 2020 will contain changes for
`DNS Flag Day 2020 <https://dnsflagday.net/2020/>`_. Please double-check your firewall,
it has to allow DNS traffic on UDP and also TCP port 53.
5.0 to 5.1
==========
......
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