linux系统dig和nslookup的安装

今天在自己的服务器上要运行nslookup。发现无法执行命令。原来我安装的是server 的最少安装版本所以一些不是常用的东西都没有安装上去。所以需要自己动手进行安装。

nslookup是常用来查询本机域名解析情况的命令,但是一些linux系统下默认无此命令。我们可以通过安装一个包来使该命令生效,这个包中也包括dig命令。

Ubuntu、Debian:

# sudo apt-get install dnsutils

Fedora / Centos:

# yum install bind-utils

原创文章,转载请注明: 转载自PT Ubuntu Blog

本文链接地址: http://www.ptubuntu.com/2011/04/4211.html

Share

{ 发表评论? }

  1. coach clearance purses

    汗 这样的 占歌沙发了

  2. 17fenx

    来关注学习

  3. 小李飞刀

    这感觉有点高深的,关注

  4. Coach Bags Outlet

    这个还好行

  5. Coach Factory Store

    嗯,,学习了

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Verify Code   If you cannot see the CheckCode image,please refresh the page again!