How to install Bind DNS server on CentOS and RHEL

This steps show you on how to install Bind DNS for CentOS or Redhat Enterprise (RHEL) using yum command :

    [root@server ~]# yum install bind-chroot
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons:
     * base:
     * contrib:
     * extras:
     * updates:
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package bind-chroot.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
    --> Processing Dependency: bind = 30:9.3.6-4.P1.el5_5.3 for package: bind-chroot
    --> Running transaction check
    ---> Package bind.x86_64 30:9.3.6-4.P1.el5_5.3 set to be updated
    --> Finished Dependency Resolution
    Dependencies Resolved
     Package           Arch         Version                     Repository     Size
     bind-chroot       x86_64       30:9.3.6-4.P1.el5_5.3       updates        44 k
    Installing for dependencies:
     bind              x86_64       30:9.3.6-4.P1.el5_5.3       updates       986 k
    Transaction Summary
    Install       2 Package(s)
    Upgrade       0 Package(s)
    Total download size: 1.0 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): bind-chroot-9.3.6-4.P1.el5_5.3.x86_64.rpm         |  44 kB     00:00
    (2/2): bind-9.3.6-4.P1.el5_5.3.x86_64.rpm                | 986 kB     00:09
    Total                                            85 kB/s | 1.0 MB     00:12
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : bind                                                     1/2
      Installing     : bind-chroot                                              2/2
      bind-chroot.x86_64 30:9.3.6-4.P1.el5_5.3
    Dependency Installed:
      bind.x86_64 30:9.3.6-4.P1.el5_5.3

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>