3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]

(cherry picked from commit 905ba39e10)
This commit is contained in:
Mark Andrews 2014-08-26 08:27:24 +10:00
parent d07f2a7497
commit 846710b6ac
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,5 @@
3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]
3928. [test] Improve rndc system test. [RT #36898]
3927. [bug] dig: report PKCS#11 error codes correctly when

View file

@ -765,6 +765,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
if (!lookup->rdtypeset ||
lookup->rdtype != dns_rdatatype_axfr)
lookup->rdtype = dns_rdatatype_any;
#ifdef WITH_IDN
idnoptions = 0;
#endif
list_type = dns_rdatatype_any;
list_addresses = ISC_FALSE;
lookup->rdtypeset = ISC_TRUE;