From: JINMEI Tatuya Date: Thu, 7 Feb 2013 22:14:26 +0000 (-0800) Subject: dig +nssearch now prints name servers that don't have address records. X-Git-Tag: v9.10.0a1~528 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ab7a67829ffe2a7b3220a1cd366bc6255235923a;p=thirdparty%2Fbind9.git dig +nssearch now prints name servers that don't have address records. --- diff --git a/CHANGES b/CHANGES index 5e61af94882..b2e29b9a5d5 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3482. [func] dig +nssearch now prints name servers that don't + have address records (missing AAAA or A, or the name + doesn't exist). [RT #29348] + 3481. [cleanup] removed use of const const in atf 3480. [bug] Silence logging noise when setting up zone diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 3c4b335d060..01bd6e483d2 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -1816,8 +1816,8 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section) debug("adding server %s", namestr); num = getaddresses(lookup, namestr, &lresult); if (lresult != ISC_R_SUCCESS) { - debug("couldn't get address for '%s': %s", - namestr, isc_result_totext(lresult)); + printf("couldn't get address for '%s': %s\n", + namestr, isc_result_totext(lresult)); if (addresses_result == ISC_R_SUCCESS) { addresses_result = lresult; strcpy(bad_namestr, namestr);