Date: Sun, 01 May 2016 10:50:57 +0000 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 Message-ID: <bug-209177-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209177-8>