home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / ISP / bind.4.8.3.lzh / BIND483 / MAN / resolver.5 < prev    next >
Text File  |  1993-08-24  |  4KB  |  99 lines

  1. .\" Copyright (c) 1986 The Regents of the University of California.
  2. .\" All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms are permitted
  5. .\" provided that the above copyright notice and this paragraph are
  6. .\" duplicated in all such forms and that any documentation,
  7. .\" advertising materials, and other materials related to such
  8. .\" distribution and use acknowledge that the software was developed
  9. .\" by the University of California, Berkeley.  The name of the
  10. .\" University may not be used to endorse or promote products derived
  11. .\" from this software without specific prior written permission.
  12. .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  13. .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  14. .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  15. .\"
  16. .\"    @(#)resolver.5    5.9 (Berkeley) 12/14/89
  17. .\"
  18. .TH RESOLVER 5 "December 14, 1989"
  19. .UC 4
  20. .SH NAME
  21. resolver \- resolver configuration file
  22. .SH SYNOPSIS
  23. /etc/resolv.conf
  24. .SH DESCRIPTION
  25. .LP
  26. The
  27. .I resolver
  28. is a set of routines in the C library (\c
  29. .IR resolv (3))
  30. that provide access to the Internet Domain Name System.
  31. The resolver configuration file contains information that is read
  32. by the resolver routines the first time they are invoked by a process.
  33. The file is designed to be human readable and contains a list of
  34. keywords with values that provide various types of resolver information.
  35. .LP
  36. On a normally configured system this file should not be necessary.
  37. The only name server to be queried will be on the local machine,
  38. the domain name is determined from the host name,
  39. and the domain search path is constructed from the domain name.
  40. .LP
  41. The different configuration options are:
  42. .TP
  43. \fBnameserver\fP
  44. Internet address (in dot notation) of a name server
  45. that the resolver should query.
  46. Up to MAXNS (currently 3) name servers may be listed,
  47. one per keyword.
  48. If there are multiple servers,
  49. the resolver library queries them in the order listed.
  50. If no \fBnameserver\fP entries are present,
  51. the default is to use the name server on the local machine.
  52. (The algorithm used is to try a name server, and if the query times out,
  53. try the next, until out of name servers,
  54. then repeat trying all the name servers
  55. until a maximum number of retries are made).
  56. .TP
  57. \fBdomain\fP
  58. Local domain name.
  59. Most queries for names within this domain can use short names
  60. relative to the local domain.
  61. If no \fBdomain\fP entry is present, the domain is determined
  62. from the local host name returned by
  63. \fIgethostname\fP\|(2);
  64. the domain part is taken to be everything after the first `.'.
  65. Finally, if the host name does not contain a domain part, the root
  66. domain is assumed.
  67. .TP
  68. \fBsearch\fP
  69. Search list for host-name lookup.
  70. The search list is normally determined from the local domain name;
  71. by default, it begins with the local domain name, then successive
  72. parent domains that have at least two components in their names.
  73. This may be changed by listing the desired domain search path
  74. following the \fIsearch\fP keyword with spaces or tabs separating
  75. the names.
  76. Most resolver queries will be attempted using each component
  77. of the search path in turn until a match is found.
  78. Note that this process may be slow and will generate a lot of network
  79. traffic if the servers for the listed domains are not local,
  80. and that queries will time out if no server is available
  81. for one of the domains.
  82. .IP
  83. The search list is currently limited to six domains
  84. with a total of 256 characters.
  85. .LP
  86. The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
  87. If more than one instance of these keywords is present,
  88. the last instance will override.
  89. .LP
  90. The keyword and value must appear on a single line, and the keyword
  91. (e.g. \fBnameserver\fP) must start the line.  The value follows
  92. the keyword, separated by white space.
  93. .SH FILES
  94. .I /etc/resolv.conf
  95. .SH SEE ALSO
  96. gethostbyname(3N), resolver(3), hostname(7), named(8)
  97. .br
  98. Name Server Operations Guide for BIND
  99.