アットウィキロゴ

BINDのインストール

CentOS に yum で BIND をインストールする

リポジトリ内のBIND関連パッケージ

+ ...
[root@localhost ~]# yum search bind | grep ^bind
bind.x86_64 : The Berkeley Internet Name Domain (BIND) DNS (Domain Name System)
bind-chroot.x86_64 : A chroot runtime environment for the ISC BIND DNS server,
bind-devel.i386 : Header files and libraries needed for BIND DNS development.
bind-devel.x86_64 : Header files and libraries needed for BIND DNS development.
bind-libbind-devel.i386 : Include files and library needed to use the BIND
bind-libbind-devel.x86_64 : Include files and library needed to use the BIND
bind-libs.i386 : Libraries used by the BIND DNS packages
bind-libs.x86_64 : Libraries used by the BIND DNS packages
bind-sdb.x86_64 : The Berkeley Internet Name Domain (BIND) DNS (Domain Name
bind-utils.x86_64 : Utilities for querying DNS name servers.
bind97.x86_64 : The Berkeley Internet Name Domain (BIND) DNS (Domain Name
bind97-chroot.x86_64 : A chroot runtime environment for the ISC BIND DNS server,
bind97-devel.i386 : Header files and libraries needed for BIND DNS development
bind97-devel.x86_64 : Header files and libraries needed for BIND DNS development
bind97-libs.i386 : Libraries used by the BIND DNS packages
bind97-libs.x86_64 : Libraries used by the BIND DNS packages
bind97-utils.x86_64 : Utilities for querying DNS name servers

bind97 の情報

+ ...
[root@localhost ~]# yum info bind97
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * extras: rsync.atworks.co.jp
 * updates: rsync.atworks.co.jp
Available Packages
Name       : bind97
Arch       : x86_64
Epoch      : 32
Version    : 9.7.0
Release    : 6.P2.el5_7.4
Size       : 3.5 M
Repo       : updates
Summary    : The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server
URL        : http://www.isc.org/products/BIND/
License    : ISC
Description: BIND (Berkeley Internet Name Domain) is an implementation of the DNS
           : (Domain Name System) protocols. BIND includes a DNS server (named),
           : which resolves host names to IP addresses; a resolver library
           : (routines for applications to use when interfacing with DNS); and
           : tools for verifying that the DNS server is operating properly.}

bind97, bind97-chorot, bind97-utils をインストール

+ ...
[root@localhost ~]# yum install bind97
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * extras: rsync.atworks.co.jp
 * updates: rsync.atworks.co.jp
addons                                                                                      |  951 B     00:00     
base                                                                                        | 1.1 kB     00:00     
extras                                                                                      | 2.1 kB     00:00     
updates                                                                                     | 1.9 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind97.x86_64 32:9.7.0-6.P2.el5_7.4 set to be updated
--> Processing Dependency: bind97-libs = 32:9.7.0-6.P2.el5_7.4 for package: bind97
--> Processing Dependency: liblwres.so.60()(64bit) for package: bind97
--> Processing Dependency: libbind9.so.60()(64bit) for package: bind97
--> Processing Dependency: libisccfg.so.60()(64bit) for package: bind97
--> Processing Dependency: libisc.so.60()(64bit) for package: bind97
--> Processing Dependency: libdns.so.64()(64bit) for package: bind97
--> Processing Dependency: libisccc.so.60()(64bit) for package: bind97
--> Running transaction check
---> Package bind97-libs.x86_64 32:9.7.0-6.P2.el5_7.4 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================
 Package                   Arch                 Version                                Repository             Size
===================================================================================================================
Installing:
 bind97                    x86_64               32:9.7.0-6.P2.el5_7.4                  updates               3.5 M
Installing for dependencies:
 bind97-libs               x86_64               32:9.7.0-6.P2.el5_7.4                  updates               898 k

Transaction Summary
===================================================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 4.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): bind97-libs-9.7.0-6.P2.el5_7.4.x86_64.rpm                                            | 898 kB     00:00     
(2/2): bind97-9.7.0-6.P2.el5_7.4.x86_64 (80%) 75% [======================-       ]  0.0 B/s | 2.6 MB     --:-- ETA
-------------------------------------------------------------------------------------------------------------------
Total                                                                              6.8 MB/s | 4.4 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : bind97-libs [#########################################################################    ] 1/2
  Installing     : bind97 [################################################################################# ] 2/2

Installed:
  bind97.x86_64 32:9.7.0-6.P2.el5_7.4                                                                              

Dependency Installed:
  bind97-libs.x86_64 32:9.7.0-6.P2.el5_7.4                                                                         

Complete!
[root@localhost ~]# yum install bind97-choroot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * extras: rsync.atworks.co.jp
 * updates: rsync.atworks.co.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind97-chroot.x86_64 32:9.7.0-6.P2.el5_7.4 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================
 Package                     Arch                 Version                              Repository             Size
===================================================================================================================
Installing:
 bind97-chroot               x86_64               32:9.7.0-6.P2.el5_7.4                updates               6.6 k

Transaction Summary
===================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 6.6 k
Is this ok [y/N]: y
Downloading Packages:
bind97-chroot-9.7.0-6.P2.el5_7.4.x86_64.rpm                                                 | 6.6 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : bind97-chroot [#########################################################                  ] 1/1

Installed:
  bind97-chroot.x86_64 32:9.7.0-6.P2.el5_7.4                                                                       

Complete!
[root@localhost ~]# yum install bind97-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * extras: rsync.atworks.co.jp
 * updates: rsync.atworks.co.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind97-utils.x86_64 32:9.7.0-6.P2.el5_7.4 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================
 Package                    Arch                 Version                               Repository             Size
===================================================================================================================
Installing:
 bind97-utils               x86_64               32:9.7.0-6.P2.el5_7.4                 updates               193 k

Transaction Summary
===================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 193 k
Is this ok [y/N]: y
Downloading Packages:
bind97-utils-9.7.0-6.P2.el5_7.4.x86_64.rpm                                                  | 193 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : bind97-utils [########################################################################### ] 1/1

Installed:
  bind97-utils.x86_64 32:9.7.0-6.P2.el5_7.4                                                                        

Complete!

インストール直後の状態

/var/named
+ ...
[root@localhost ~]# tree /var/named
/var/named
|-- chroot
|   |-- dev
|   |   |-- random
|   |   `-- zero
|   |-- etc
|   |   |-- localtime
|   |   |-- named
|   |   `-- pki
|   |       `-- dnssec-keys
|   |-- usr
|   |   `-- lib64
|   |       `-- bind
|   `-- var
|       |-- log
|       |-- named
|       |-- run
|       |   `-- named
|       `-- tmp
|-- data
|-- dynamic
|-- named.ca
|-- named.empty
|-- named.localhost
|-- named.loopback
`-- slaves

18 directories, 7 files
最終更新:2012年02月23日 02:47
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。