]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
dig +nssearch now prints name servers that don't have address records.
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 7 Feb 2013 22:14:26 +0000 (14:14 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 7 Feb 2013 22:14:26 +0000 (14:14 -0800)
CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 5e61af94882750970c88a160fb4c5a837feaf855..b2e29b9a5d5c0cf96fb020d144ecc9c26c47ae64 100644 (file)
--- 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
index 3c4b335d060ce83b6de728563596c779f9ccad16..01bd6e483d2070f8b4a9d109084c5255493dd44c 100644 (file)
@@ -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);