]> 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:27:24 +0000 (08:27 +1000)
CHANGES
bin/dig/host.c

diff --git a/CHANGES b/CHANGES
index a02efccd659bf6bb2064fec9220e399c19388e32..0529e5439ab326967d83f06a89b550cf13153cc9 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]
 
 3927.  [bug]           dig: report PKCS#11 error codes correctly when
index 73a8fcda594fbf0438198613a71e6aa0b52dfd1c..16e6f2aa0e68bc92ee2338652827aca0e39168b8 100644 (file)
@@ -766,6 +766,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;