]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]
authorMark Andrews <marka@isc.org>
Mon, 25 Aug 2014 22:27:24 +0000 (08:27 +1000)
committerMark Andrews <marka@isc.org>
Mon, 25 Aug 2014 22:28:05 +0000 (08:28 +1000)
(cherry picked from commit 905ba39e10a8f483d167b992ec31f4c0bf34326e)

CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index 8f25e2687d8ae2f3f520585f7a90713f8f7c5256..221de6c8d1b298dea55fd99f9011b12b9170c85a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3929.  [bug]           'host -a' needed to clear idnoptions. [RT #36963]
+
 3928.  [test]          Improve rndc system test. [RT #36898]
 
 3925.  [bug]           DS lookup of RFC 1918 empty zones failed. [RT #36917]
index 391ed802cb51dc268f9d8dba1f9f1a1d6d664e2d..08f89bf74c9e258b53aafa217062b00e5c7af3a0 100644 (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;