dig コマンドを利用する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#author("2019-04-15T04:21:32+00:00","Group2","Group2")
[[dig コマンドを利用する]]
#html{{
<meta name="description" content="https://fukumoto-tech.s...
<meta name="keywords" content="普通人間製作所,world fukum...
<link rel="canonical" href="https://fukumoto-tech.servebl...
<br>
<a href="https://it.blogmura.com/linux/"><img src="https:...
<!-- admax -->
<script src="https://adm.shinobi.jp/s/1a0429ab1f292195e9a...
<!-- admax -->
</html>
}}
環境
CentOS release 6.5
64bit
**dig コマンドのパッケージを検索 [#rf6ebe11]
yum list | grep bind
※「bind-utils」が対象パッケージです。
**bind-utilsパッケージをインストール [#sf1f7ea5]
yum install bind-utils.i686
[root@kensyousever ~]# yum install bind-utils.i686
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* rpmforge: ftp.kddilabs.jp
* updates: ftp.jaist.ac.jp
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might c...
The program yum-complete-transaction is found in the yum...
--> Running transaction check
---> Package bind-utils.i686 32:9.8.2-0.23.rc1.el6_5.1 w...
--> Processing Dependency: bind-libs = 32:9.8.2-0.23.rc1...
--> Processing Dependency: liblwres.so.80 for package: 3...
--> Processing Dependency: libisccfg.so.82 for package: ...
--> Processing Dependency: libisccc.so.80 for package: 3...
--> Processing Dependency: libisc.so.83 for package: 32:...
--> Processing Dependency: libdns.so.81 for package: 32:...
--> Processing Dependency: libbind9.so.80 for package: 3...
--> Running transaction check
---> Package bind-libs.i686 32:9.8.2-0.23.rc1.el6_5.1 wi...
--> Finished Dependency Resolution
Dependencies Resolved
========================================================...
Package Arch ...
========================================================...
Installing:
bind-utils i686 ...
Installing for dependencies:
bind-libs i686 ...
Transaction Summary
========================================================...
Install 2 Package(s)
Total download size: 1.0 M
Installed size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): bind-libs-9.8.2-0.23.rc1.el6_5.1.i686.rpm ...
(2/2): bind-utils-9.8.2-0.23.rc1.el6_5.1.i686.rpm ...
--------------------------------------------------------...
Total ...
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 32:bind-libs-9.8.2-0.23.rc1.el6_5.1.i686 ...
Installing : 32:bind-utils-9.8.2-0.23.rc1.el6_5.1.i686...
Verifying : 32:bind-libs-9.8.2-0.23.rc1.el6_5.1.i686 ...
Verifying : 32:bind-utils-9.8.2-0.23.rc1.el6_5.1.i686...
Installed:
bind-utils.i686 32:9.8.2-0.23.rc1.el6_5.1
Dependency Installed:
bind-libs.i686 32:9.8.2-0.23.rc1.el6_5.1
Complete!
↑のような表記になれば、インストール完了。
**digコマンドの利用確認 [#pc8746bd]
[root@kensyousever ~]# dig yahoo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> y...
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5438
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 5, A...
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 1800 IN A 98.139.1...
yahoo.com. 1800 IN A 206.190....
yahoo.com. 1800 IN A 98.138.2...
;; AUTHORITY SECTION:
yahoo.com. 171855 IN NS ns5.yaho...
yahoo.com. 171855 IN NS ns4.yaho...
yahoo.com. 171855 IN NS ns3.yaho...
yahoo.com. 171855 IN NS ns2.yaho...
yahoo.com. 171855 IN NS ns1.yaho...
;; ADDITIONAL SECTION:
ns1.yahoo.com. 171855 IN A 68.180.1...
ns5.yahoo.com. 171855 IN A 119.160....
ns2.yahoo.com. 171855 IN A 68.142.2...
ns3.yahoo.com. 171855 IN A 203.84.2...
ns4.yahoo.com. 171855 IN A 98.138.1...
;; Query time: 67 msec
;; SERVER: 192.168.11.12#53(192.168.11.12)
;; WHEN: Sat Jun 7 11:02:58 2014
;; MSG SIZE rcvd: 245
終了行:
#author("2019-04-15T04:21:32+00:00","Group2","Group2")
[[dig コマンドを利用する]]
#html{{
<meta name="description" content="https://fukumoto-tech.s...
<meta name="keywords" content="普通人間製作所,world fukum...
<link rel="canonical" href="https://fukumoto-tech.servebl...
<br>
<a href="https://it.blogmura.com/linux/"><img src="https:...
<!-- admax -->
<script src="https://adm.shinobi.jp/s/1a0429ab1f292195e9a...
<!-- admax -->
</html>
}}
環境
CentOS release 6.5
64bit
**dig コマンドのパッケージを検索 [#rf6ebe11]
yum list | grep bind
※「bind-utils」が対象パッケージです。
**bind-utilsパッケージをインストール [#sf1f7ea5]
yum install bind-utils.i686
[root@kensyousever ~]# yum install bind-utils.i686
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ftp.jaist.ac.jp
* extras: ftp.jaist.ac.jp
* rpmforge: ftp.kddilabs.jp
* updates: ftp.jaist.ac.jp
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might c...
The program yum-complete-transaction is found in the yum...
--> Running transaction check
---> Package bind-utils.i686 32:9.8.2-0.23.rc1.el6_5.1 w...
--> Processing Dependency: bind-libs = 32:9.8.2-0.23.rc1...
--> Processing Dependency: liblwres.so.80 for package: 3...
--> Processing Dependency: libisccfg.so.82 for package: ...
--> Processing Dependency: libisccc.so.80 for package: 3...
--> Processing Dependency: libisc.so.83 for package: 32:...
--> Processing Dependency: libdns.so.81 for package: 32:...
--> Processing Dependency: libbind9.so.80 for package: 3...
--> Running transaction check
---> Package bind-libs.i686 32:9.8.2-0.23.rc1.el6_5.1 wi...
--> Finished Dependency Resolution
Dependencies Resolved
========================================================...
Package Arch ...
========================================================...
Installing:
bind-utils i686 ...
Installing for dependencies:
bind-libs i686 ...
Transaction Summary
========================================================...
Install 2 Package(s)
Total download size: 1.0 M
Installed size: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): bind-libs-9.8.2-0.23.rc1.el6_5.1.i686.rpm ...
(2/2): bind-utils-9.8.2-0.23.rc1.el6_5.1.i686.rpm ...
--------------------------------------------------------...
Total ...
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 32:bind-libs-9.8.2-0.23.rc1.el6_5.1.i686 ...
Installing : 32:bind-utils-9.8.2-0.23.rc1.el6_5.1.i686...
Verifying : 32:bind-libs-9.8.2-0.23.rc1.el6_5.1.i686 ...
Verifying : 32:bind-utils-9.8.2-0.23.rc1.el6_5.1.i686...
Installed:
bind-utils.i686 32:9.8.2-0.23.rc1.el6_5.1
Dependency Installed:
bind-libs.i686 32:9.8.2-0.23.rc1.el6_5.1
Complete!
↑のような表記になれば、インストール完了。
**digコマンドの利用確認 [#pc8746bd]
[root@kensyousever ~]# dig yahoo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> y...
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5438
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 5, A...
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 1800 IN A 98.139.1...
yahoo.com. 1800 IN A 206.190....
yahoo.com. 1800 IN A 98.138.2...
;; AUTHORITY SECTION:
yahoo.com. 171855 IN NS ns5.yaho...
yahoo.com. 171855 IN NS ns4.yaho...
yahoo.com. 171855 IN NS ns3.yaho...
yahoo.com. 171855 IN NS ns2.yaho...
yahoo.com. 171855 IN NS ns1.yaho...
;; ADDITIONAL SECTION:
ns1.yahoo.com. 171855 IN A 68.180.1...
ns5.yahoo.com. 171855 IN A 119.160....
ns2.yahoo.com. 171855 IN A 68.142.2...
ns3.yahoo.com. 171855 IN A 203.84.2...
ns4.yahoo.com. 171855 IN A 98.138.1...
;; Query time: 67 msec
;; SERVER: 192.168.11.12#53(192.168.11.12)
;; WHEN: Sat Jun 7 11:02:58 2014
;; MSG SIZE rcvd: 245
ページ名: