From a771f67f26211ac78a82516351fb3c9572050da7 Mon Sep 17 00:00:00 2001 From: Gert van Dijk Date: Sun, 31 Mar 2019 19:25:22 +0200 Subject: [PATCH] docs: formatting fixes for 'Dynamic DNS Update' page * Fix a broken link to the domain metadata. * Prettify method listing paragraph. --- docs/dnsupdate.rst | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/dnsupdate.rst b/docs/dnsupdate.rst index c65eae1eb3..8c6842eaef 100644 --- a/docs/dnsupdate.rst +++ b/docs/dnsupdate.rst @@ -90,7 +90,7 @@ Per zone settings ----------------- For permissions, a number of per zone settings are available via the -:doc:`domain metadata ``. +:doc:`domain metadata `. .. _metadata-allow-dnsupdate-from: @@ -454,17 +454,18 @@ each record at a time and you can approve or reject any or all. The object has following methods available: -- DNSName getQName() - name to update -- DNSName getZonename() - zone name -- int getQType() - record type, it can be 255(ANY) for delete. -- ComboAddress getLocal() - local socket address -- ComboAddress getRemote() - remote socket address -- Netmask getRealRemote() - real remote address (or netmask if EDNS Subnet is used) -- DNSName getTsigName() - TSIG **key** name (you can assume it is validated here) -- string getPeerPrincipal() - Return peer principal name (user@DOMAIN, service/machine.name@DOMAIN, host/MACHINE$@DOMAIN) +- ``DNSName getQName()`` - name to update +- ``DNSName getZonename()`` - zone name +- ``int getQType()`` - record type, it can be 255(ANY) for delete. +- ``ComboAddress getLocal()`` - local socket address +- ``ComboAddress getRemote()`` - remote socket address +- ``Netmask getRealRemote()`` - real remote address (or netmask if EDNS Subnet is used) +- ``DNSName getTsigName()`` - TSIG **key** name (you can assume it is validated here) +- ``string getPeerPrincipal()`` - Return peer principal name (``user@DOMAIN``, + ``service/machine.name@DOMAIN``, ``host/MACHINE$@DOMAIN``) There are many same things available as in recursor Lua scripts, but -there is also resolve(qname, qtype) which returns array of records. +there is also ``resolve(qname, qtype)`` which returns array of records. Example: .. code-block:: lua -- 2.47.2