From: Andreas Gustafsson Date: Wed, 17 Jan 2001 19:37:37 +0000 (+0000) Subject: 685. [bug] nslookup should use the search list/domain options X-Git-Tag: v9.1.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb4d841853cddb524d29bf545ac62efe4e6ba82a;p=thirdparty%2Fbind9.git 685. [bug] nslookup should use the search list/domain options from resolv.conf by default. [RT #405, #630] --- diff --git a/CHANGES b/CHANGES index cc779cf8438..36887f08ac2 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ 687. [bug] Only say we have IPv6, with sufficent functionality, if it has actually been tested. [RT #586] + 685. [bug] nslookup should use the search list/domain options + from resolv.conf by default. [RT #405, #630] + 684. [bug] Memory leak with view forwarders. [RT #656] 683. [bug] File descriptor leak in isc_lex_openfile(). diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index ac1445a1617..6d977b520ac 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nslookup.c,v 1.69.2.2 2001/01/16 18:20:11 gson Exp $ */ +/* $Id: nslookup.c,v 1.69.2.3 2001/01/17 19:37:37 gson Exp $ */ #include @@ -856,6 +856,7 @@ static void parse_args(int argc, char **argv) { isc_boolean_t have_lookup = ISC_FALSE; + usesearch = ISC_TRUE; for (argc--, argv++; argc > 0; argc--, argv++) { debug("main parsing %s", argv[0]); if (argv[0][0] == '-') {