dig +nssearch now prints name servers that don't have address records.

This commit is contained in:
JINMEI Tatuya 2013-02-07 14:14:26 -08:00
parent 3d2e052eb8
commit ab7a67829f
2 changed files with 6 additions and 2 deletions

View file

@ -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

View 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);