今天发现我的debian服务器居然不能使用dig
和nslookup
命令,具体如下:
root@jp:~# dig
-bash: dig: command not found
root@jp:~# nslookup
-bash: nslookup: command not found
这一看就是没安装对应的软件包,解决方法是使用下面命令安装软件包即可
apt install dnsutils
今天发现我的debian服务器居然不能使用dig
和nslookup
命令,具体如下:
root@jp:~# dig
-bash: dig: command not found
root@jp:~# nslookup
-bash: nslookup: command not found
这一看就是没安装对应的软件包,解决方法是使用下面命令安装软件包即可
apt install dnsutils