From d1746f318244d522d27d8f3abbc024464a3c4ea6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 2 Jun 2007 06:22:00 +0000 Subject: [PATCH] fix xref --- man5/resolv.conf.5 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5 index f8da36673..d1d53aa79 100644 --- a/man5/resolv.conf.5 +++ b/man5/resolv.conf.5 @@ -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