host utility doesn't support switch -U (force UDP)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Ubuntu) |
Fix Released
|
Low
|
Andreas Hasenack |
Bug Description
Ubuntu 18.04.1
man page for host utility (man host) has information, that "-U" switch forces UDP mode. But there is no "-U" switch coded in host utility. Is it a bug in manpage or in host utility?
# host -V
host 9.11.3-
# host -T www.ubuntu.com
www.ubuntu.com has address 91.189.89.103
# host -U www.ubuntu.com
Usage: host [-aCdilrTvVw] [-c class] [-N ndots] [-t type] [-W time]
[-R number] [-m flag] hostname [server]
-a is equivalent to -v -t ANY
....
Information in manpage (man host):
-T, -U
TCP/UDP: By default, host uses UDP when making queries. The -T
option makes it use a TCP connection when querying the name server.
TCP will be automatically selected for queries that require it,
such as zone transfer (AXFR) requests. Type ANY queries default to
TCP but can be forced to UDP initially using -U.
Related branches
- Andreas Hasenack: Approve
- Canonical Server Core Reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 953 lines (+646/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+574/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Bryce Harrington (community): Approve
- Andreas Hasenack: Approve
- Canonical Server: Pending requested
- Canonical Server packageset reviewers: Pending requested
-
Diff: 972 lines (+666/-83)11 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+549/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/CVE-2019-6471.patch (+44/-0)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+3/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 778 lines (+492/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+420/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 752 lines (+472/-83)10 files modifieddebian/bind9.install (+0/-2)
debian/changelog (+400/-0)
debian/control (+2/-5)
debian/dnsutils.install (+0/-2)
debian/libdns1104.symbols (+0/-66)
debian/patches/enable-udp-in-host-command.diff (+26/-0)
debian/patches/fix-shutdown-race.diff (+41/-0)
debian/patches/series (+2/-0)
debian/rules (+1/-4)
debian/tests/simpletest (+0/-4)
CVE References
affects: | iputils (Ubuntu) → bind9 (Ubuntu) |
Hi PLS (again),
yeah IMHO this is a bug in the
Eventually [1] and [2] disagree.
It was added to the docs in [3]
But I never saw a matching change to the .c file.
I think you should report that upstream to get their opinion if the manpage or the tool should be fixed. We can then follow them to avoid going back and forth all the time.
Submittins issues I think would be at [4]
[1]: https:/ /github. com/isc- projects/ bind9/blob/ master/ bin/dig/ host.c /github. com/isc- projects/ bind9/blob/ master/ bin/dig/ host.1 /github. com/isc- projects/ bind9/commit/ 2d863323b67a5c0 d19fcf49123583a 9e19d7e07a /gitlab. isc.org/ isc-projects/ bind9/issues
[2]: https:/
[3]: https:/
[4]: https:/