History log of /freebsd-10.1-release/lib/libc/net/resolver.3
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 193024 29-May-2009 delphij

Document how to enable strict RFC 1034 enforcements.

PR: kern/129477


# 165903 08-Jan-2007 imp

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


# 163982 04-Nov-2006 lawrance

Document return values for res_query and res_search.
h_errno is not an extern int, just a macro providing an integer lvalue.

PR: doc/50573
Submitted by: Ronald F.Guilmette <rfg@monkeys.com>
Reviewed by: trhodes
MFC after: 3 days


# 160427 17-Jul-2006 stefanf

Use a prototype for res_init().

MFC after: 3 days


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140505 20-Jan-2005 ru

Sort sections.


# 131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 131365 30-Jun-2004 ru

Markup, grammar, and spelling fixes.


# 126243 25-Feb-2004 green

Make the resolver(3) and many associated interfaces much more reentrant.
The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
with what should be totally reentrant, and h_errno values will now
be preserved correctly, but this does not affect interfaces such as
gethostbyname(3) which are still mostly non-reentrant.

In all of these relevant functions, the thread-safety has been pushed
down as far as it seems possible right now. This means that operations
that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected
still under global locks that getaddrinfo(3) defines, but where possible
the locking is greatly reduced. The most noticeable improvement is
that multiple DNS lookups can now be run at the same time, and this
shows major improvement in performance of DNS-lookup threaded programs,
and solves the "Mozilla tab serialization" problem.

No single-threaded applications need to be recompiled. Multi-threaded
applications that reference "_res" to change resolver(3) options will
need to be recompiled, and ones which reference "h_errno" will also
if they desire the correct h_errno values. If the applications already
understood that _res and h_errno were not thread-safe and had their own
locking, they will see no performance improvement but will not
actually break in any way.

Please note that when NSS modules are used, or when nsdispatch(3)
defaults to adding any lookups of its own to the individual libc
_nsdispatch() calls, those MUST be reentrant as well.


# 119964 10-Sep-2003 ru

mdoc(7): Properly mark C headers.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 108087 19-Dec-2002 ru

mdoc(7) police: "The .Fa argument.".


# 108040 18-Dec-2002 ru

mdoc(7) police: Fixed abuses of the .Ar and .Em macros.


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 81462 10-Aug-2001 ru

mdoc(7) police: join split punctuation to macro calls.


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79531 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 79486 09-Jul-2001 tobez

Document more resolver(3) routines: dn_skip() from resolv.h, and
ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h.

Markup by: ru
OK'ed by: markm


# 79195 04-Jul-2001 ru

mdoc(7) police: print some example text with literal font.


# 78012 10-Jun-2001 ume

Implement EDNS0 support, as EDNS0 support will be made mandatory for
IPv6 transport-ready resolvers/DNS servers. Need careful configuration
when enable it. (default config is not affected).
See manpage for details.

XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.

Obtained from: KAME/NetBSD


# 71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 59460 21-Apr-2000 phantom

Introduce ".Lb" macro to libc manpages.

More libraries manpages updates following.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48794 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# 43920 12-Feb-1999 alex

Removed occurrences of consecutive repeated words (such as "the the").


# 38060 03-Aug-1998 bde

Fixed bitrot in prototypes in synopsis.


# 24877 13-Apr-1997 bde

Fixed #include and/or prototype bugs in synopsis.


# 21907 20-Jan-1997 wosch

Sort cross references.


# 19302 01-Nov-1996 peter

Doc updates and cleanups made with the bind-4.9.4 update some time ago.
I thought I had committed these, but it seems not.


# 17955 30-Aug-1996 peter

back out last two changes, this caused the mandoc pages to be replaced by
man pages. I'll fold in the real changes in a seperate commit.


# 17917 29-Aug-1996 peter

The last commit failed part-way through, re-add the generated
resolver man pages.