version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
RESOLV+ |
| |
|
2 |
!!!RESOLV+ |
| |
|
3 |
NAME |
| |
|
4 |
DESCRIPTION |
| |
|
5 |
CONFIGURATION |
| |
|
6 |
ENVIRONMENT VARIABLES |
| |
|
7 |
FILES |
| |
|
8 |
BUGS |
| |
|
9 |
AUTHOR |
| |
|
10 |
SEE ALSO |
| |
|
11 |
---- |
| |
|
12 |
!!NAME |
| |
|
13 |
|
| |
|
14 |
|
| |
|
15 |
resolv+ - enhanced DNS resolver library |
| |
|
16 |
!!DESCRIPTION |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
''Resolv+'' is a modified version of the standard |
| |
|
20 |
Berkeley BIND host resolver library. Enhancements include |
| |
|
21 |
support for host lookups via the Internet Domain Name System |
| |
|
22 |
(DNS), the ''/etc/hosts'' file, and Sun's Network |
| |
|
23 |
Information Service (NIS). |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
The programmer interface to the resolv+ routines is |
| |
|
27 |
identical to that of the standard resolver library. For |
| |
|
28 |
further information see the appropriate manual |
| |
|
29 |
pages. |
| |
|
30 |
!!CONFIGURATION |
| |
|
31 |
|
| |
|
32 |
|
| |
|
33 |
As with the standard resolver library, the file |
| |
|
34 |
''/etc/resolv.conf'' must be set up before the resolver |
| |
|
35 |
can function. In addition, the file ''/etc/host.conf'' |
| |
|
36 |
contains configuration information specific to |
| |
|
37 |
resolv+. |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
The ''host.conf'' file should contain one configuration |
| |
|
41 |
keyword per line, followed by appropriate configuration |
| |
|
42 |
information. The keywords recognized are ''order , trim , |
| |
|
43 |
multi , nospoof ,'' and ''reorder .'' Each keyword is |
| |
|
44 |
described seperately below. |
| |
|
45 |
|
| |
|
46 |
|
| |
|
47 |
order |
| |
|
48 |
|
| |
|
49 |
|
| |
|
50 |
This keyword specifies how host lookups are to be performed. |
| |
|
51 |
It should be followed by one or more lookup methods, |
| |
|
52 |
seperated by commas. Valid methods are ''bind , hosts'' |
| |
|
53 |
and ''nis .'' |
| |
|
54 |
|
| |
|
55 |
|
| |
|
56 |
trim |
| |
|
57 |
|
| |
|
58 |
|
| |
|
59 |
This keyword may be listed more than once. Each time it |
| |
|
60 |
should be followed by a single domain name, with the leading |
| |
|
61 |
dot. When set, the resolv+ library will automatically trim |
| |
|
62 |
the given domain name from the end of any hostname resolved |
| |
|
63 |
via DNS. This is intended for use with local hosts and |
| |
|
64 |
domains. (Related note: trim will not affect hostnames |
| |
|
65 |
gathered via NIS or the hosts file. Care should be taken to |
| |
|
66 |
insure that the first hostname for each entry in the hosts |
| |
|
67 |
file is fully qualified or non-qualified, as appropriate for |
| |
|
68 |
the local installation.) |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
multi |
| |
|
72 |
|
| |
|
73 |
|
| |
|
74 |
Valid values are ''on'' and ''off .'' If set to |
| |
|
75 |
''/etc/hosts'' |
| |
|
76 |
file, instead of only the first. This is off by default, as |
| |
|
77 |
it may cause a substantial performance loss at sites with |
| |
|
78 |
large hosts files. |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
nospoof |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
Valid values are ''on'' and ''off .'' If set to |
| |
|
85 |
''rlogin'' |
| |
|
86 |
and ''rsh''. It works as follows: after performing a host |
| |
|
87 |
address lookup, resolv+ will perform a hostname lookup for |
| |
|
88 |
that address. If the two hostnames do not match, the query |
| |
|
89 |
will fail. |
| |
|
90 |
|
| |
|
91 |
|
| |
|
92 |
alert |
| |
|
93 |
|
| |
|
94 |
|
| |
|
95 |
If this option is set to |
| |
|
96 |
nospoof'' option is also set, resolv+ will log a |
| |
|
97 |
warning of the error via the ''syslog'' facility. The |
| |
|
98 |
default value is off. |
| |
|
99 |
|
| |
|
100 |
|
| |
|
101 |
reorder |
| |
|
102 |
|
| |
|
103 |
|
| |
|
104 |
Valid values are ''on'' and ''off .'' If set to |
| |
|
105 |
'' |
| |
|
106 |
!!ENVIRONMENT VARIABLES |
| |
|
107 |
|
| |
|
108 |
|
| |
|
109 |
The following environment variables may be set to override |
| |
|
110 |
resolv+'s configured behavior: |
| |
|
111 |
|
| |
|
112 |
|
| |
|
113 |
RESOLV_HOST_CONF |
| |
|
114 |
|
| |
|
115 |
|
| |
|
116 |
If set, it will override the default filename |
| |
|
117 |
( |
| |
|
118 |
|
| |
|
119 |
|
| |
|
120 |
RESOLV_SERV_ORDER |
| |
|
121 |
|
| |
|
122 |
|
| |
|
123 |
If set, will override the |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
RESOLV_SPOOF_CHECK |
| |
|
127 |
|
| |
|
128 |
|
| |
|
129 |
If set, will override the spoof check flag. Valid values are |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
RESOLV_ADD_TRIM_DOMAINS |
| |
|
133 |
|
| |
|
134 |
|
| |
|
135 |
If set, contains a list of domains to trim that will |
| |
|
136 |
augment, not supersede, the list in the host.conf |
| |
|
137 |
file. |
| |
|
138 |
|
| |
|
139 |
|
| |
|
140 |
RESOLV_OVERRIDE_TRIM_DOMAINS |
| |
|
141 |
|
| |
|
142 |
|
| |
|
143 |
If set, contains a list of domains to trim that will |
| |
|
144 |
override those in the host.conf file. |
| |
|
145 |
|
| |
|
146 |
|
| |
|
147 |
RESOLV_MULTI |
| |
|
148 |
|
| |
|
149 |
|
| |
|
150 |
If set, overrides the |
| |
|
151 |
|
| |
|
152 |
|
| |
|
153 |
RESOLV_REORDER |
| |
|
154 |
|
| |
|
155 |
|
| |
|
156 |
If set, overrides the |
| |
|
157 |
!!FILES |
| |
|
158 |
|
| |
|
159 |
|
| |
|
160 |
/etc/host.conf, /etc/hosts |
| |
|
161 |
!!BUGS |
| |
|
162 |
|
| |
|
163 |
|
| |
|
164 |
Quite possibly. |
| |
|
165 |
!!AUTHOR |
| |
|
166 |
|
| |
|
167 |
|
| |
|
168 |
The original BIND resolver library comes from the University |
| |
|
169 |
of California at Berkeley's Computer Science Research Group. |
| |
|
170 |
The original resolv+ modifications were made by Bill Wisner |
| |
|
171 |
!!SEE ALSO |
| |
|
172 |
|
| |
|
173 |
|
| |
|
174 |
resolver(3), resolver(5), hosts(5), hostname(7), |
| |
|
175 |
named(8) |
| |
|
176 |
---- |