From 2bb48917a2eaf0ef1d3f920d464906890d994399 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Mon, 10 Feb 2003 08:10:17 +0000 Subject: [PATCH] Minor changes. --- doc/latex/dns.tex | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/latex/dns.tex b/doc/latex/dns.tex index c6e4e5d..26b4044 100644 --- a/doc/latex/dns.tex +++ b/doc/latex/dns.tex @@ -116,7 +116,7 @@ accept. \var{Nameserver} is either a \ipaddr or a dotted IP string. Looks up mail-exchangers for a hostname und returns them in a list sorted by preference. \oops{use-cache? is not implemented yet} \end{desc} -\defun{socket-address->fqdn}{socket-address [use-cache?]}{\fqdn} +\defun{socket-address->fqdn}{socket-address [nameserver list][use-cache?]}{\fqdn} \begin{desc} Returns the FQDN for of the address bound to argument. The argument \var{cache?} indicates whether the internal cache may be queried to @@ -124,7 +124,7 @@ accept. \var{Nameserver} is either a \ipaddr or a dotted IP string. \end{desc} \defun{maybe-dns-lookup-name}{name [nameserver list][use-cache?]}{\ipaddr or \sharpf} -\defunx{maybe-dns-lookup-ip}{\ipaddr}{\fqdn{} or \sharpf} +\defunx{maybe-dns-lookup-ip}{\ipaddr [nameserver list][use-cache?]}{\fqdn{} or \sharpf} \begin{desc} These procedures provide the same functionality as \ex{dns-lookup-name} and \ex{dns-lookup-ip} but return \sharpf{} in @@ -323,14 +323,16 @@ The possible names for the classes are: \end{table} \defun{resource-record?}{thing}{\boolean} -\defunx{resource-record-name}{rr}{\str} -\defunx{resource-record-type}{rr}{message-type} -\defunx{resource-record-class}{rr}{message-class} -\defunx{resource-record-ttl}{rr}{number} -\defunx{resource-record-data}{rr}{resource-record-data-X} +\defunx{resource-record-name}{resource-record}{\str} +\defunx{resource-record-type}{resource-record}{message-type} +\defunx{resource-record-class}{resource-record}{message-class} +\defunx{resource-record-ttl}{resource-record}{number} +\defunx{resource-record-data}{resource-record}{resource-record-data-\dots} \begin{desc} A resource record as returned from the DNS server. The actual data of the record is stored in the \texttt{resource-record-data} field. + It is one of the record types for resource record data described + below. \end{desc} \defun{resource-record-data-a?}{thing}{\boolean} @@ -394,7 +396,7 @@ field but we where no able to find test cases for them. \section{Host Names} -\defun{is-fqdn?}{\str}{\boolean} +\defun{fqdn?}{\str}{\boolean} \begin{desc} Indicates whether the argument matches the grammar for a fully qualified domain name.