shi*_*ish 4 debian hostname bind9
我在看 bind9-host
shirish@debian:"04 Jan 2020 15:48:02" ~$ aptitude show bind9-host=1:9.11.5.P4+dfsg-5.1+b1
Package: bind9-host
Version: 1:9.11.5.P4+dfsg-5.1+b1
State: installed
Automatically installed: no
Priority: standard
Section: net
Maintainer: Debian DNS Team <team+dns@tracker.debian.org>
Architecture: amd64
Uncompressed Size: 369 k
Compressed Size: 271 k
Filename: pool/main/b/bind9/bind9-host_9.11.5.P4+dfsg-5.1+b1_amd64.deb
Checksum-FileSize: 271156
MD5Sum: 8cd326a23a51acdb773df5b7dce76060
SHA256: 977287c7212e9d3e671b85fdd04734b4908fe86d4b3581e47fb86d8b27cfdb3b
Archive: testing
Depends: libbind9-161 (= 1:9.11.5.P4+dfsg-5.1+b1), libdns1104 (= 1:9.11.5.P4+dfsg-5.1+b1), libisc1100 (= 1:9.11.5.P4+dfsg-5.1+b1), libisccfg163 (= 1:9.11.5.P4+dfsg-5.1+b1), liblwres161 (= 1:9.11.5.P4+dfsg-5.1+b1), libc6 (>= 2.14), libcap2 (>= 1:2.10), libcom-err2 (>= 1.43.9), libfstrm0 (>= 0.2.0), libgeoip1, libgssapi-krb5-2 (>= 1.6.dfsg.2), libidn2-0 (>= 2.0.0), libjson-c4 (>= 0.13.1), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), liblmdb0 (>= 0.9.6), libprotobuf-c1 (>= 1.0.0), libssl1.1 (>= 1.1.0), libxml2 (>= 2.6.27)
Provides: host
Description: DNS lookup utility (deprecated)
This package provides /usr/bin/host, a simple utility (bundled with the BIND 9.X sources) which can be used for converting domain names to IP addresses and the reverse.
This utility is deprecated, use dig or delv from the dnsutils package.
Homepage: https://www.isc.org/downloads/bind/
Run Code Online (Sandbox Code Playgroud)
对我来说有趣的是,虽然该实用程序本身已被弃用并且程序本身存在许多问题,但该实用程序似乎仍在保留它,但不明白为什么?我也没有在 /usr/share/doc/bind9-host 中看到任何弃用通知或文档。通常有一个 NEWS.gz 提供此信息。但在这个包中没有一个。Changelog.gz 和其他人没有。
有趣的是,他们还在继续这样做——
$ apt-cache policy bind9-host
bind9-host:
Installed: 1:9.11.5.P4+dfsg-5.1+b1
Candidate: 1:9.11.5.P4+dfsg-5.1+b1
Version table:
1:9.15.7-1 100
100 http://cdn-fastly.deb.debian.org/debian experimental/main amd64 Packages
1:9.11.14+dfsg-1 100
100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
*** 1:9.11.5.P4+dfsg-5.1+b1 900
900 http://cdn-fastly.deb.debian.org/debian testing/main amd64 Packages
100 /var/lib/dpkg/status
Run Code Online (Sandbox Code Playgroud)
host是不是通过互联网系统协会的BIND公司弃用。它甚至不会nslookup像以前那样弃用。
这弃用host由Debian开发在2018年做,对XYR主动响应有关包的描述是没有其实也谈不上折旧2013年Debian的bug报告。Debian 软件包描述是唯一提到弃用的地方,并且没有任何理由。
如果一个人是要贬低ISC工具-再-有一个更加明显的更好的地方开始。
作为 Debian 用户,您可能希望提交有关此弃用的错误报告。
nslookup是一个有严重缺陷的工具。不要使用它。. 经常给出答案。