我无法在我的nslookup 7.2中安装CentOS:
yum install nslookup[root@localhost network-scripts]# yum install -y nslookup
added plugin:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sunnyvision.com
* epel: my.mirrors.thegigabit.com
* extras: mirror.sunnyvision.com
* updates: mirrors.icidc.com
No available nslookup发布于 2019-11-19 04:49:34
nslookup包含在bind-utils包中。
您应该使用下面的命令来安装它:
# yum install bind-utils发布于 2019-11-19 07:27:15
您可以使用yum whatprovides nslookup查看哪个包交付它:
~$ yum whatprovides nslookup
Loaded plugins: fastestmirror
Determining fastest mirrors
.
.
32:bind-utils-9.11.4-9.P2.el7.x86_64 : Utilities for querying DNS name servers
Repo : base
Matched from:
Filename : /usr/bin/nslookup
32:bind-utils-9.9.4-74.el7_6.2.x86_64 : Utilities for querying DNS name servers
Repo : @updates
Matched from:
Filename : /usr/bin/nslookup然后可以使用yum使用yum install bind-utils安装包。
https://unix.stackexchange.com/questions/552881
复制相似问题