Minor changes.

This commit is contained in:
mainzelm 2003-02-10 08:10:17 +00:00
parent e2697605f6
commit 2bb48917a2
1 changed files with 10 additions and 8 deletions

View File

@ -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.