From thozza@redhat.com Thu Sep 24 07:34:31 2015 X-Scanned-BY: MIMEDefang 2.68 on 10.5.11.27 CC: "Jakub Luzny" MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-RT-Interface: API References: <194463002.11114099.1402641552531.JavaMail.zimbra@redhat.com> <20140613190509.GA79309@isc.org> <5602CEF8.7@redhat.com> <20150923170959.GA23329@isc.org> Message-ID: <5603A77D.5030302@redhat.com> content-type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by bugs.isc.org (Postfix) with ESMTP id A708F71B583 for ; Thu, 24 Sep 2015 07:34:30 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx.ams1.isc.org (Postfix) with ESMTPS id 78C151FCACD for ; Thu, 24 Sep 2015 07:34:27 +0000 (UTC) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id C63D78E697 for ; Thu, 24 Sep 2015 07:34:25 +0000 (UTC) Received: from thozza-pc.brq.redhat.com (thozza-pc.brq.redhat.com [10.34.4.205]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8O7YNtk027445 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 24 Sep 2015 03:34:24 -0400 Delivered-To: bind-suggest@bugs.isc.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Subject: Re: [ISC-Bugs #36101] IDN support in host/dig/nslookup using GNU libidn(2) Return-Path: X-Original-To: bind-suggest@bugs.isc.org Date: Thu, 24 Sep 2015 09:34:21 +0200 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.ams1.isc.org X-Enigmail-Draft-Status: N1110 To: bind-suggest@isc.org Content-Transfer-Encoding: 8bit From: "Tomas Hozza" RT-Message-ID: Content-Length: 1207 On 23.09.2015 19:10, Evan Hunt via RT wrote: > > On Wed, Sep 23, 2015 at 04:10:42PM +0000, Tomas Hozza via RT wrote: > > Works the same way also in the current patch set. However I was > > not able to transfer the root zone. So if you can test this, > > it would be great. > > If you use "dig @f.root-servers.net" it should work, it's configured > to allow transfer for anyone. > > (More detailed response to follow when I have a bit more time.) Thank you for the hint. I retested the code. With libidn: dig @f.root-servers.net axfr . --> there are domains with Unicode characters in the output IDN_DISABLE="" dig @f.root-servers.net axfr . --> there are no domains with Unicode characters, only xn-- With libidn2: dig @f.root-servers.net axfr . --> there are no domains with Unicode characters, only xn-- IDN_DISABLE="" dig @f.root-servers.net axfr . --> there are no domains with Unicode characters, only xn-- As noted before, the behavior with libidn2 is expected, since libidn2 does not support translation from punycode to Unicode. Thanks! Regards, -- Tomas Hozza Software Engineer - EMEA ENG Developer Experience PGP: 1D9F3C2D UTC+2 (CEST) Red Hat Inc. http://cz.redhat.com