Skip to content
Snippets Groups Projects

hints docs: unify the descriptions of `hints.root()`

Merged Vladimír Čunát requested to merge hints-doc into master
+ 2
6
@@ -73,12 +73,6 @@ Properties
Remove a hostname - address pair hint. If address is omitted, all addresses for the given name are deleted.
.. function:: hints.root()
:return: ``{ ['a.root-servers.net.'] = { '1.2.3.4', '5.6.7.8', ...}, ... }``
.. tip:: If no parameters are passed, returns current root hints set.
.. function:: hints.root_file(path)
Replace current root hints from a zonefile. If the path is omitted, the compiled-in path is used, i.e. the root hints are reset to the default.
@@ -90,6 +84,8 @@ Properties
Replace current root hints and return the current table of root hints.
.. tip:: If no parameters are passed, it only returns current root hints set without changing anything.
Example:
.. code-block:: lua
Loading