debain遭遇-bash: dig: command not found

刚装好的debian测试机,提示没有dig命令,google一下:
you have to install package dnsutils

  1. root@debian:~# dig
  2. -bash: dig: command not found
  1. root@debian:~# aptitude install dnsutils
  2. root@debian:~# dig qq.com |grep -Ev "^;.*|(^$)"
  3. qq.com.                 38024   IN      A       119.147.15.13
  4. qq.com.                 38024   IN      A       119.147.15.17
  5. qq.com.                 38024   IN      A       119.147.15.11
  6. qq.com.                 37723   IN      NS      dns1.imok.net.
  7. qq.com.                 37723   IN      NS      dns2.imok.net.
  8. qq.com.                 37723   IN      NS      dns3.imok.net.
  9. dns1.imok.net.          80587   IN      A       219.133.40.202
  10. dns2.imok.net.          80587   IN      A       61.152.100.5
  11. dns3.imok.net.          80587   IN      A       218.30.72.181
1 1