diff --git a/doc/reference.texi b/doc/reference.texi index 996490bdbc773ce626af43825932f630329f6bc1..5e6cde0ed8b99bcef4e04cb35dd3f4a5f2dba9a2 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -36,6 +36,7 @@ else. @code{system} @code{@{} [ @code{identity} @code{"}@kbd{string}@code{";} ] [ @code{version} @code{"}@kbd{string}@code{";} ] + [ @code{hostname} @code{"}@kbd{string}@code{";} ] [ @code{nsid} ( @code{"}@kbd{string}@code{"} | @kbd{hex_string} )@code{;} ] [ @code{storage} @code{"}@kbd{string}@code{";} ] [ @code{pidfile} @code{"}@kbd{string}@code{";} ] @@ -57,6 +58,7 @@ else. @menu * identity:: * version:: +* hostname:: * nsid:: * storage:: * pidfile:: @@ -75,7 +77,11 @@ else. @subsubsection identity @vindex identity -Identity of the server (see @url{http://tools.ietf.org/html/rfc4892,RFC 4892}). Not used yet. +Identity of the server returned in a response for the query for TXT record +@code{id.server.} in the CHAOS class +(see @url{http://tools.ietf.org/html/rfc4892,RFC 4892}). + +If not specified or empty, the server returns REFUSED status code. @example system @{ @@ -87,11 +93,31 @@ system @{ @subsubsection version @vindex version -Version of the server (see @url{http://tools.ietf.org/html/rfc4892,RFC 4892}). Not used yet. +Version of the server software returned in a response for the query for TXT +record @code{version.server.} in the CHAOS class +(see @url{http://tools.ietf.org/html/rfc4892,RFC 4892}). + +If not specified or empty, the server returns REFUSED status code. + +@example +system @{ + version "1.3.0"; +@} +@end example + +@node hostname +@subsubsection hostname +@vindex hostname + +Host name of the server returned in a response for the query for TXT record +@code{hostname.server.} in the CHAOS class +(see @url{http://tools.ietf.org/html/rfc4892,RFC 4892}). + +If not specified or empty, the server returns REFUSED status code. @example system @{ - version "1.1.0"; + hostname "a.ns.example.com"; @} @end example diff --git a/samples/knot.full.conf b/samples/knot.full.conf index 689c10af07c856a7ad9bb078c09592239b3bf6de..369bd224c0e63be92001f4fc456eda5341af2f58 100644 --- a/samples/knot.full.conf +++ b/samples/knot.full.conf @@ -14,14 +14,14 @@ # Section 'system' contains general options for the server system { - # Identity of the server (see RFC 4892). Not used yet. + # Identity of the server (see RFC 4892). identity "I have no mouth and must scream"; - # Version of the server (see RFC 4892). Not used yet. - version "1.2"; + # Version of the server (see RFC 4892). + version "1.3"; - # Host name of the server (see RFC 4892). Not used yet. - hostname "myserver0"; + # Host name of the server (see RFC 4892). + hostname "myserver0.ns.example.com"; # Server identifier # Use string format "text"