How to install Bind DNS server on CentOS and RHEL

Share this Article :

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

    [[email protected] ~]# 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