注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

God is U 做自己的上帝

富原孤島--只发优质级的文章

 
 
 

日志

 
 

Centos 的nslookup安装和使用  

2015-08-22 22:43:56|  分类: [LINUX] |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
[root@localhost ~]# yum install bind bind-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.sina.cn
 * extras: mirrors.163.com
 * updates: mirror.bit.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.9.4-18.el7_1.3 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-18.el7_1.3 for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
--> Processing Dependency: libbind9.so.90()(64bit) for package: 32:bind-9.9.4-18.el7_1.3.x86_64
---> Package bind-utils.x86_64 32:9.9.4-18.el7_1.3 will be installed
--> Running transaction check
---> Package bind-libs.x86_64 32:9.9.4-18.el7_1.3 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-18.el7_1.3 for package: 32:bind-libs-9.9.4-18.el7_1.3.x86_64
--> Running transaction check
---> Package bind-license.noarch 32:9.9.4-18.el7 will be updated
--> Processing Dependency: bind-license = 32:9.9.4-18.el7 for package: 32:bind-libs-lite-9.9.4-18.el7.x86_64
---> Package bind-license.noarch 32:9.9.4-18.el7_1.3 will be an update
--> Running transaction check
---> Package bind-libs-lite.x86_64 32:9.9.4-18.el7 will be updated
---> Package bind-libs-lite.x86_64 32:9.9.4-18.el7_1.3 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch        Version                     Repository    Size
================================================================================
Installing:
 bind                x86_64      32:9.9.4-18.el7_1.3         updates      1.8 M
 bind-utils          x86_64      32:9.9.4-18.el7_1.3         updates      199 k
Installing for dependencies:
 bind-libs           x86_64      32:9.9.4-18.el7_1.3         updates      1.0 M
Updating for dependencies:
 bind-libs-lite      x86_64      32:9.9.4-18.el7_1.3         updates      712 k
 bind-license        noarch      32:9.9.4-18.el7_1.3         updates       80 k

Transaction Summary
================================================================================
Install  2 Packages (+1 Dependent package)
Upgrade             ( 2 Dependent packages)

Total download size: 3.7 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/5): bind-license-9.9.4-18.el7_1.3.noarch.rpm            |  80 kB   00:02
(2/5): bind-libs-lite-9.9.4-18.el7_1.3.x86_64.rpm          | 712 kB   00:05
(3/5): bind-libs-9.9.4-18.el7_1.3.x86_64.rpm               | 1.0 MB   00:11
(4/5): bind-9.9.4-18.el7_1.3.x86_64.rpm                    | 1.8 MB   00:14
(5/5): bind-utils-9.9.4-18.el7_1.3.x86_64.rpm              | 199 kB   00:15
--------------------------------------------------------------------------------
Total                                              234 kB/s | 3.7 MB  00:16
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 32:bind-license-9.9.4-18.el7_1.3.noarch                      1/7
  Installing : 32:bind-libs-9.9.4-18.el7_1.3.x86_64                         2/7
  Installing : 32:bind-utils-9.9.4-18.el7_1.3.x86_64                        3/7
  Installing : 32:bind-9.9.4-18.el7_1.3.x86_64                              4/7
  Updating   : 32:bind-libs-lite-9.9.4-18.el7_1.3.x86_64                    5/7
  Cleanup    : 32:bind-libs-lite-9.9.4-18.el7.x86_64                        6/7
  Cleanup    : 32:bind-license-9.9.4-18.el7.noarch                          7/7
  Verifying  : 32:bind-libs-lite-9.9.4-18.el7_1.3.x86_64                    1/7
  Verifying  : 32:bind-utils-9.9.4-18.el7_1.3.x86_64                        2/7
  Verifying  : 32:bind-license-9.9.4-18.el7_1.3.noarch                      3/7
  Verifying  : 32:bind-9.9.4-18.el7_1.3.x86_64                              4/7
  Verifying  : 32:bind-libs-9.9.4-18.el7_1.3.x86_64                         5/7
  Verifying  : 32:bind-license-9.9.4-18.el7.noarch                          6/7
  Verifying  : 32:bind-libs-lite-9.9.4-18.el7.x86_64                        7/7

Installed:
  bind.x86_64 32:9.9.4-18.el7_1.3     bind-utils.x86_64 32:9.9.4-18.el7_1.3

Dependency Installed:
  bind-libs.x86_64 32:9.9.4-18.el7_1.3

Dependency Updated:
  bind-libs-lite.x86_64 32:9.9.4-18.el7_1.3
  bind-license.noarch 32:9.9.4-18.el7_1.3

Complete!
[root@localhost ~]# nslookup 163.com
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
Name:   163.com
Address: 123.58.180.8
Name:   163.com
Address: 123.58.180.7

[root@localhost ~]# nslookup
> set q=mx
> 163.com
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
163.com mail exchanger = 10 163mx03.mxmail.netease.com.
163.com mail exchanger = 50 163mx00.mxmail.netease.com.
163.com mail exchanger = 10 163mx01.mxmail.netease.com.
163.com mail exchanger = 10 163mx02.mxmail.netease.com.

Authoritative answers can be found from:
163mx00.mxmail.netease.com      internet address = 123.125.50.139
163mx00.mxmail.netease.com      internet address = 123.125.50.140
163mx01.mxmail.netease.com      internet address = 220.181.14.141
163mx01.mxmail.netease.com      internet address = 220.181.14.142
163mx01.mxmail.netease.com      internet address = 220.181.14.143
163mx01.mxmail.netease.com      internet address = 220.181.14.135
163mx01.mxmail.netease.com      internet address = 220.181.14.136
163mx01.mxmail.netease.com      internet address = 220.181.14.137
163mx01.mxmail.netease.com      internet address = 220.181.14.138
163mx01.mxmail.netease.com      internet address = 220.181.14.139
163mx01.mxmail.netease.com      internet address = 220.181.14.140
163mx03.mxmail.netease.com      internet address = 220.181.14.159
163mx03.mxmail.netease.com      internet address = 220.181.14.160
163mx03.mxmail.netease.com      internet address = 220.181.14.161
163mx03.mxmail.netease.com      internet address = 220.181.14.162
163mx03.mxmail.netease.com      internet address = 220.181.14.163
163mx03.mxmail.netease.com      internet address = 220.181.14.164
163mx03.mxmail.netease.com      internet address = 220.181.14.156
163mx03.mxmail.netease.com      internet address = 220.181.14.157
163mx03.mxmail.netease.com      internet address = 220.181.14.158
>

[root@localhost ~ ] $ nslookup
> mail.aactechnologies.com
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
Name:   mail.aactechnologies.com
Address: 58.251.138.61
> set q=ptr
> 58.251.138.61
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
61.138.251.58.in-addr.arpa      name = aacacoustic.com.
61.138.251.58.in-addr.arpa      name = aactechnologies.com.
61.138.251.58.in-addr.arpa      name = aactechnologies.com.cn.

Authoritative answers can be found from:
> set q=mx
> aactechnologies.com
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
aactechnologies.com     mail exchanger = 10 mx2.aactechnologies.com.
aactechnologies.com     mail exchanger = 5 mx1.aactechnologies.com.

Authoritative answers can be found from:
mx1.aactechnologies.com internet address = 58.251.138.61
> 163.com
Server:         10.0.2.254
Address:        10.0.2.254#53

Non-authoritative answer:
163.com mail exchanger = 10 163mx02.mxmail.netease.com.
163.com mail exchanger = 10 163mx03.mxmail.netease.com.
163.com mail exchanger = 50 163mx00.mxmail.netease.com.
163.com mail exchanger = 10 163mx01.mxmail.netease.com.

Authoritative answers can be found from:
163mx03.mxmail.netease.com      internet address = 220.181.14.163
163mx03.mxmail.netease.com      internet address = 220.181.14.164
163mx03.mxmail.netease.com      internet address = 220.181.14.156
163mx03.mxmail.netease.com      internet address = 220.181.14.157
163mx03.mxmail.netease.com      internet address = 220.181.14.158
163mx03.mxmail.netease.com      internet address = 220.181.14.159
163mx03.mxmail.netease.com      internet address = 220.181.14.160
163mx03.mxmail.netease.com      internet address = 220.181.14.161
163mx03.mxmail.netease.com      internet address = 220.181.14.162
163mx01.mxmail.netease.com      internet address = 220.181.14.141
163mx01.mxmail.netease.com      internet address = 220.181.14.142
163mx01.mxmail.netease.com      internet address = 220.181.14.143
163mx01.mxmail.netease.com      internet address = 220.181.14.135
163mx01.mxmail.netease.com      internet address = 220.181.14.136
163mx01.mxmail.netease.com      internet address = 220.181.14.137
163mx01.mxmail.netease.com      internet address = 220.181.14.138
163mx01.mxmail.netease.com      internet address = 220.181.14.139
163mx01.mxmail.netease.com      internet address = 220.181.14.140
163mx02.mxmail.netease.com      internet address = 220.181.14.144
163mx02.mxmail.netease.com      internet address = 220.181.14.145
163mx02.mxmail.netease.com      internet address = 220.181.14.146
163mx02.mxmail.netease.com      internet address = 220.181.14.147
163mx02.mxmail.netease.com      internet address = 220.181.14.148
>
  评论这张
 
阅读(247)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017