]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
minor editing
authorAndreas Gustafsson <source@isc.org>
Mon, 4 Dec 2000 18:37:40 +0000 (18:37 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 4 Dec 2000 18:37:40 +0000 (18:37 +0000)
doc/man/lwres/lwres.3
doc/man/lwres/lwres_config.3
doc/man/lwres/lwres_gethostent.3
doc/man/lwres/lwres_getnameinfo.3
doc/man/lwres/lwres_hstrerror.3
lib/lwres/man/lwres.3
lib/lwres/man/lwres_config.3
lib/lwres/man/lwres_gethostent.3
lib/lwres/man/lwres_getnameinfo.3
lib/lwres/man/lwres_hstrerror.3

index ea2a1487807da7c48040e40c17b9f005c25af692..46cc6ab49a880285ea8b521c82d37048d08722c4 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres.3,v 1.7 2000/11/18 02:59:12 bwelling Exp $
+.\" $Id: lwres.3,v 1.8 2000/12/04 18:37:35 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES 3
@@ -30,7 +30,7 @@ independent stub resolver library.  It provides hostname-to-address
 and address-to-hostname lookup services to applications by
 transmitting lookup requests to a resolver daemon
 .Nm lwresd
-running on the local host.  The resover daemon performs the
+running on the local host. The resover daemon performs the
 lookup using the DNS or possibly other name service protocols,
 and returns the results to the application through the library.  
 The library and resolver daemon communicate using a simple
@@ -68,6 +68,13 @@ and
 These may be called by applications that require more detailed
 control over the lookup process than the standard functions
 provide.
+.Pp
+In addition to these name service independent address lookup
+functions, the library implements a new, experimental API
+for looking up arbitrary DNS resource records, using the
+.Fn lwres_getaddrsbyname
+function.
+.Pp
 Finally, there is a low-level API for converting lookup
 requests and responses to and from raw lwres protocol packets.  
 This API can be used by clients requiring nonblocking operation, 
index a70ee3e777181ccd2c4562813d3fa07a4626db4b..9eeb3784c673fd78ba9111baa41a9e579e489d50 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_config.3,v 1.4 2000/11/18 02:59:40 bwelling Exp $
+.\" $Id: lwres_config.3,v 1.5 2000/12/04 18:37:37 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_CONFIG 3
@@ -102,7 +102,7 @@ numeric host address string.
 If this happens, the function returns
 .Er LWRES_R_FAILURE .
 .Sh SEE ALSO
-.Xr stdio 3,
+.Xr stdio 3 ,
 .Xr resolver 5 .
 .Sh FILES
 .Pa /etc/resolv.conf
index af6e8ec1856614ea29ae370e5210796fe40b526a..985f7fe221547052b433611dc50c39315d5aa9af 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_gethostent.3,v 1.5 2000/11/18 03:00:21 bwelling Exp $
+.\" $Id: lwres_gethostent.3,v 1.6 2000/12/04 18:37:38 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_GETHOSTENT 3
@@ -345,17 +345,9 @@ and
 .Fn lwres_gethostbyaddr_r
 respectively.
 .Pp
-Although the above functions can be considered as drop-in replacements
-for their equivalents in the system software, there are limitations.
-The functions that are documented here only use the BIND9 lighweight
-resolver daemon
-That implies that they only use the DNS for host and address lookups.
-Therefore these functions do not perform lookups in
+The resolver daemon does not currently support any non-DNS
+name services such as 
 .Pa /etc/hosts
-or in
-.Dv NIS/YP
 or
-.Dv NIS+
-maps which could be supported by the operating system's
-.Xr gethostent 3
-functions.
+.Dv NIS ,
+consequently the above functions don't, either.
index 92f54de0017ad9f17cc660f1c62652fb93cd17a5..02342f6bb5f8a789fe680d2190a59d5ad8e87eba 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_getnameinfo.3,v 1.6 2000/11/18 03:00:28 bwelling Exp $
+.\" $Id: lwres_getnameinfo.3,v 1.7 2000/12/04 18:37:39 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_GETNAMEINFO 3
@@ -122,7 +122,7 @@ returns 0 on success or a non-zero error code if an error occurs.
 .Xr getservbyport 3 ,
 .Xr lwres 3 ,
 .Xr lwres_getnameinfo 3 ,
-.Xr lwres_getnamebyaddr 3,
+.Xr lwres_getnamebyaddr 3 .
 .Xr lwres_net_ntop 3 .
 .Sh BUGS
 RFC2133 fails to define what the nonzero return values of
index a4afbfdd2dccd188c8126b2f6aff9a304f310f55..ed7b9a2fa6bc4e48f131912e7533f7876116dffa 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_hstrerror.3,v 1.4 2000/11/18 03:00:41 bwelling Exp $
+.\" $Id: lwres_hstrerror.3,v 1.5 2000/12/04 18:37:40 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_ERROR 3
@@ -60,6 +60,7 @@ The values of the error codes and messages are as follows:
 \*qUnknown server error\*q
 .It Li NO_DATA
 \*qNo address associated with name\*q
+.El
 .Sh RETURN VALUES
 The string \*qUnknown resolver error\*q is returned by
 .Fn lwres_hstrerror
index ea2a1487807da7c48040e40c17b9f005c25af692..46cc6ab49a880285ea8b521c82d37048d08722c4 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres.3,v 1.7 2000/11/18 02:59:12 bwelling Exp $
+.\" $Id: lwres.3,v 1.8 2000/12/04 18:37:35 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES 3
@@ -30,7 +30,7 @@ independent stub resolver library.  It provides hostname-to-address
 and address-to-hostname lookup services to applications by
 transmitting lookup requests to a resolver daemon
 .Nm lwresd
-running on the local host.  The resover daemon performs the
+running on the local host. The resover daemon performs the
 lookup using the DNS or possibly other name service protocols,
 and returns the results to the application through the library.  
 The library and resolver daemon communicate using a simple
@@ -68,6 +68,13 @@ and
 These may be called by applications that require more detailed
 control over the lookup process than the standard functions
 provide.
+.Pp
+In addition to these name service independent address lookup
+functions, the library implements a new, experimental API
+for looking up arbitrary DNS resource records, using the
+.Fn lwres_getaddrsbyname
+function.
+.Pp
 Finally, there is a low-level API for converting lookup
 requests and responses to and from raw lwres protocol packets.  
 This API can be used by clients requiring nonblocking operation, 
index a70ee3e777181ccd2c4562813d3fa07a4626db4b..9eeb3784c673fd78ba9111baa41a9e579e489d50 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_config.3,v 1.4 2000/11/18 02:59:40 bwelling Exp $
+.\" $Id: lwres_config.3,v 1.5 2000/12/04 18:37:37 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_CONFIG 3
@@ -102,7 +102,7 @@ numeric host address string.
 If this happens, the function returns
 .Er LWRES_R_FAILURE .
 .Sh SEE ALSO
-.Xr stdio 3,
+.Xr stdio 3 ,
 .Xr resolver 5 .
 .Sh FILES
 .Pa /etc/resolv.conf
index af6e8ec1856614ea29ae370e5210796fe40b526a..985f7fe221547052b433611dc50c39315d5aa9af 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_gethostent.3,v 1.5 2000/11/18 03:00:21 bwelling Exp $
+.\" $Id: lwres_gethostent.3,v 1.6 2000/12/04 18:37:38 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_GETHOSTENT 3
@@ -345,17 +345,9 @@ and
 .Fn lwres_gethostbyaddr_r
 respectively.
 .Pp
-Although the above functions can be considered as drop-in replacements
-for their equivalents in the system software, there are limitations.
-The functions that are documented here only use the BIND9 lighweight
-resolver daemon
-That implies that they only use the DNS for host and address lookups.
-Therefore these functions do not perform lookups in
+The resolver daemon does not currently support any non-DNS
+name services such as 
 .Pa /etc/hosts
-or in
-.Dv NIS/YP
 or
-.Dv NIS+
-maps which could be supported by the operating system's
-.Xr gethostent 3
-functions.
+.Dv NIS ,
+consequently the above functions don't, either.
index 92f54de0017ad9f17cc660f1c62652fb93cd17a5..02342f6bb5f8a789fe680d2190a59d5ad8e87eba 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_getnameinfo.3,v 1.6 2000/11/18 03:00:28 bwelling Exp $
+.\" $Id: lwres_getnameinfo.3,v 1.7 2000/12/04 18:37:39 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_GETNAMEINFO 3
@@ -122,7 +122,7 @@ returns 0 on success or a non-zero error code if an error occurs.
 .Xr getservbyport 3 ,
 .Xr lwres 3 ,
 .Xr lwres_getnameinfo 3 ,
-.Xr lwres_getnamebyaddr 3,
+.Xr lwres_getnamebyaddr 3 .
 .Xr lwres_net_ntop 3 .
 .Sh BUGS
 RFC2133 fails to define what the nonzero return values of
index a4afbfdd2dccd188c8126b2f6aff9a304f310f55..ed7b9a2fa6bc4e48f131912e7533f7876116dffa 100644 (file)
@@ -13,7 +13,7 @@
 .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-.\" $Id: lwres_hstrerror.3,v 1.4 2000/11/18 03:00:41 bwelling Exp $
+.\" $Id: lwres_hstrerror.3,v 1.5 2000/12/04 18:37:40 gson Exp $
 
 .Dd Jun 30, 2000
 .Dt LWRES_ERROR 3
@@ -60,6 +60,7 @@ The values of the error codes and messages are as follows:
 \*qUnknown server error\*q
 .It Li NO_DATA
 \*qNo address associated with name\*q
+.El
 .Sh RETURN VALUES
 The string \*qUnknown resolver error\*q is returned by
 .Fn lwres_hstrerror