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:37:24 +00:00
parent 432546fc2a
commit 6bc2b1e3f6
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]
1840. [func] dnssec-signzone can now randomize signature end times
(dnssec-signzone -j jitter). [RT #13609]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.186.18.13 2004/10/21 01:44:33 marka Exp $ */
/* $Id: dig.c,v 1.186.18.14 2005/03/31 02:37:23 marka Exp $ */
#include <config.h>
#include <stdlib.h>
@@ -897,7 +897,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.259.18.12 2004/11/22 23:30:01 marka Exp $ */
/* $Id: dighost.c,v 1.259.18.13 2005/03/31 02:37:24 marka Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
@@ -1474,6 +1474,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;
dns_fixedname_init(&lookup->fdomain);
domain = dns_fixedname_name(&lookup->fdomain);
dns_name_copy(name, domain, NULL);

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.82.18.5 2004/10/21 01:44:35 marka Exp $ */
/* $Id: dig.h,v 1.82.18.6 2005/03/31 02:37:24 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