
-bash: dig: command not found的解决方法
-bash: dig: command not found的解决方法
因为dig组件没有安装在系统,下面是安装方法
1
2
3
4
5
6
7
debian/ubuntu系统
apt install dnsutils
centos/fedora系统
yum install bind-utils
Arch Linux系统
pacman -S bind-tools
现在你可以使用dig命令监测域名了
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dig google.com
; <<>> DiG 9.11.5-P4-5.1+deb10u3-Debian <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20802
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 60 IN A 8.7.198.46
;; Query time: 37 msec
;; SERVER: 100.100.2.136#53(100.100.2.136)
;; WHEN: Fri May 13 22:48:57 CST 2022
;; MSG SIZE rcvd: 44
💘 相关文章
- Debian系统出现 "gpg: command not found"的解决方法
- -bash: dig: command not found solution
- 解决了一个linux 杀不死的进程的方法
- caution: filename not matched:解决方法
- openwrt无法跑满带宽的解决方法
- -bash: docker-compose: command not found的两种解决方法
- -bash: crontab: command not found ubuntu问题
- 解决路由器ip变动的方法
- -bash: /bin/rm: 解決方法
- bash: rsync: command not found解决方法