From owner-freebsd-bugs@freebsd.org Sun May 1 10:50:58 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13F50B0FEC8 for ; Sun, 1 May 2016 10:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D465F17B8 for ; Sun, 1 May 2016 10:50:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u41AoviG068834 for ; Sun, 1 May 2016 10:50:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 209177] Update usr/bin/host to the latest upstream version to fix IXFR/AXFR handling Date: Sun, 01 May 2016 10:50:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vmagerya@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2016 10:50:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209177 Bug ID: 209177 Summary: Update usr/bin/host to the latest upstream version to fix IXFR/AXFR handling Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: vmagerya@gmail.com Created attachment 169845 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169845&action= =3Dedit ldns-host-0289cde234a0.diff Current usr/bin/host (coming from contrib/ldns-host and [1]) has two proble= ms with zone transfers: 1) IXFR queries are badly formed; for example: $ host -t ixfr x 127.0.0.1 Using domain server: Name: 127.0.0.1 Address: 127.0.0.1#53 Aliases:=20 Host x not found: 1(FORMERR) This FORMERR comes from the fact that 'host' adds two (instead of one) SOA records to it's IXFR query packets; this started happening after contrib/ld= ns updated to 1.6.17 due to changes in ldns (I can't tell you precisely which FreeBSD versions ship with ldns 1.6.17 though). 2) Both AXFR and IXFR queries do not support multi-packets responses: 'host' only print the first response packet. In practice this means any zone trans= fer with zone sizes above 64kb will be silently truncated. While this problem is documented in the man page, it's still unpleasant and I received reports fr= om people burned by it (they had to fix it by installing dns/bind-tools to rev= ert to the old 'host'). The latest upstream version of ldns-host [2] has both these problems fixed,= and I'm attaching a patch to update contrib/ldns-host to that. Ideally it shoul= d be eventually imported into both current and stable branches. [1] https://tx97.net/ldns-host/ [1] https://hg.tx97.net/ldns-host/file/0289cde234a0 --=20 You are receiving this mail because: You are the assignee for the bug.=