[Bug 209177] Update usr/bin/host to the latest upstream version to fix IXFR/AXFR handling
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 1 10:50:58 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209177
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 at FreeBSD.org
Reporter: vmagerya at gmail.com
Created attachment 169845
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169845&action=edit
ldns-host-0289cde234a0.diff
Current usr/bin/host (coming from contrib/ldns-host and [1]) has two problems
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:
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/ldns
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 transfer
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 from
people burned by it (they had to fix it by installing dns/bind-tools to revert
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 should be
eventually imported into both current and stable branches.
[1] https://tx97.net/ldns-host/
[1] https://hg.tx97.net/ldns-host/file/0289cde234a0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list