1841. [bug] "dig +nssearch" now makes a recursive query to

find the list of nameservers to query. [RT #13694]
This commit is contained in:
Mark Andrews 2005-03-31 02:43:41 +00:00
parent 48437ffbc4
commit e60bd2c3a6
4 changed files with 10 additions and 5 deletions

View file

@ -5,6 +5,9 @@
1842. [port] cmsg_len() could produce incorrect results on
some platform. [RT #13744]
1841. [bug] "dig +nssearch" now makes a recursive query to
find the list of nameservers to query. [RT #13694]
1839. [bug] <isc/hash.h> was not being installed.
1836. [cleanup] Silence compiler warnings in hash_test.c.

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.157.2.13.2.25 2004/09/16 02:14:14 marka Exp $ */
/* $Id: dig.c,v 1.157.2.13.2.26 2005/03/31 02:43:40 marka Exp $ */
#include <config.h>
#include <stdlib.h>
@ -892,7 +892,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->ns_search_only = state;
if (state) {
lookup->trace_root = ISC_TRUE;
lookup->recurse = ISC_FALSE;
lookup->recurse = ISC_TRUE;
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.221.2.19.2.20 2004/11/22 23:30:31 marka Exp $ */
/* $Id: dighost.c,v 1.221.2.19.2.21 2005/03/31 02:43:40 marka Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
@ -1466,6 +1466,8 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
lookup->ns_search_only =
query->lookup->ns_search_only;
lookup->trace_root = ISC_FALSE;
if (lookup->ns_search_only)
lookup->recurse = ISC_FALSE;
}
srv = make_server(namestr, namestr);
debug("adding server %s", srv->servername);

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.71.2.6.2.7 2004/09/06 01:33:06 marka Exp $ */
/* $Id: dig.h,v 1.71.2.6.2.8 2005/03/31 02:43:41 marka Exp $ */
#ifndef DIG_H
#define DIG_H
@ -35,7 +35,7 @@
#include <isc/sockaddr.h>
#include <isc/socket.h>
#define MXSERV 6
#define MXSERV 20
#define MXNAME (DNS_NAME_MAXTEXT+1)
#define MXRD 32
#define BUFSIZE 512