This commit is contained in:
Michael Kerrisk 2007-06-02 06:22:00 +00:00
parent e7f579679c
commit d1746f3182
1 changed files with 5 additions and 3 deletions

View File

@ -60,7 +60,7 @@ Most queries for names within this domain can use short names
relative to the local domain.
If no \fBdomain\fP entry is present, the domain is determined
from the local host name returned by
.BR gethostname (2);
.BR gethostname (3);
the domain part is taken to be everything after the first `.'.
Finally, if the host name does not contain a domain part, the root
domain is assumed.
@ -99,7 +99,9 @@ The search list is currently limited to six domains
with a total of 256 characters.
.TP
\fBsortlist\fP
Sortlist allows addresses returned by gethostbyname to be sorted.
Sortlist allows addresses returned by
.BR gethostbyname (3)
to be sorted.
A sortlist is specified by IP address netmask pairs.
The netmask is
optional and defaults to the natural netmask of the net.
@ -170,7 +172,7 @@ or control characters.
sets RES_USE_INET6 in
.IR _res.options .
This has the effect of trying a AAAA query before an A query inside the
.BR gethostbyname (2)
.BR gethostbyname (3)
function, and of mapping IPv4 responses in IPv6 ``tunnelled form''
if no AAAA records are found but an A record set exists.
.RE