From ab7a67829ffe2a7b3220a1cd366bc6255235923a Mon Sep 17 00:00:00 2001 From: JINMEI Tatuya Date: Thu, 7 Feb 2013 14:14:26 -0800 Subject: [PATCH] dig +nssearch now prints name servers that don't have address records. --- CHANGES | 4 ++++ bin/dig/dighost.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 5e61af9488..b2e29b9a5d 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 3c4b335d06..01bd6e483d 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);