2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

403. [bug] host did not use the search list.

This commit is contained in:
Andreas Gustafsson 2000-08-22 17:02:49 +00:00
parent 5b7f324879
commit 17a28c1f02
4 changed files with 26 additions and 25 deletions

View File

@ -1,4 +1,6 @@
403. [bug] "host" did not use the search list.
402. [bug] Treat undefined acls as errors, rather than
warning and then later throwing an assertion.
[RT #252]

View 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: host.1,v 1.4 2000/08/15 20:11:54 gson Exp $
.\" $Id: host.1,v 1.5 2000/08/22 17:02:49 gson Exp $
.\"
.Dd Jun 30, 2000
.Dt HOST 1
@ -114,19 +114,17 @@ The
.Fl N
option sets the number of dots that have to be in
.Ar name
before the root name servers are queried for that name.
The default number of dots is zero.
Unlike previous versions of
.Nm host ,
the BIND9 implementation does not append domain names from the
.Dv domain
or
for it to be considered absolute. The default value is that
defined using the ndots statement in
.Pa /etc/resolv.conf ,
or 1 if no ndots statement is present. Names with fewer
dots are interpreted as relative names and will be searched
for in the domains listed in the
.Dv search
directives in
or
.Dv domain
directive in
.Pa /etc/resolv.conf .
Therefore
.Ar name
should be a fully-qualified domain name.
.Pp
The number of UDP retries for a lookup can be changed with the
.Fl R

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.49 2000/08/22 16:44:46 gson Exp $ */
/* $Id: host.c,v 1.50 2000/08/22 17:02:48 gson Exp $ */
#include <config.h>
#include <stdlib.h>
@ -50,6 +50,7 @@ extern unsigned int timeout;
extern isc_mem_t *mctx;
extern int ndots;
extern int tries;
extern isc_boolean_t usesearch;
extern int lookup_counter;
extern char *progname;
extern isc_task_t *global_task;
@ -673,6 +674,8 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
}
lookup->new_search = ISC_TRUE;
ISC_LIST_APPEND(lookup_list, lookup, link);
usesearch = ISC_TRUE;
}
int

View 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: host.1,v 1.4 2000/08/15 20:11:54 gson Exp $
.\" $Id: host.1,v 1.5 2000/08/22 17:02:49 gson Exp $
.\"
.Dd Jun 30, 2000
.Dt HOST 1
@ -114,19 +114,17 @@ The
.Fl N
option sets the number of dots that have to be in
.Ar name
before the root name servers are queried for that name.
The default number of dots is zero.
Unlike previous versions of
.Nm host ,
the BIND9 implementation does not append domain names from the
.Dv domain
or
for it to be considered absolute. The default value is that
defined using the ndots statement in
.Pa /etc/resolv.conf ,
or 1 if no ndots statement is present. Names with fewer
dots are interpreted as relative names and will be searched
for in the domains listed in the
.Dv search
directives in
or
.Dv domain
directive in
.Pa /etc/resolv.conf .
Therefore
.Ar name
should be a fully-qualified domain name.
.Pp
The number of UDP retries for a lookup can be changed with the
.Fl R