Instalasi dig pada server Linux CentOS sangat mudah menggunakan yum. Dig sebenarnya adalah tools yang direkomendasikan.
Di Ubuntu atau Debian, dig adalah bagian dari paket dnsutils. Sedangkan di CentOS, dig adalah bagian dari paket bind-utils. Jadi pastikan paket tersebut terinstal di sistem operasi Anda, berikut cara instalasinya:
1 |
[root@server ~]# yum install bind-utils |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
[root@FleAnuX ~]# yum install bind-utils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.sin3.sg.voxel.net * epel: ftp.cuhk.edu.hk * extras: mirrors.sin3.sg.voxel.net * updates: mirrors.sin3.sg.voxel.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package bind-utils.i686 32:9.8.2-0.10.rc1.el6_3.2 will be installed --> Processing Dependency: bind-libs = 32:9.8.2-0.10.rc1.el6_3.2 for package: 32 :bind-utils-9.8.2-0.10.rc1.el6_3.2.i686 --> Processing Dependency: liblwres.so.80 for package: 32:bind-utils-9.8.2-0.10. rc1.el6_3.2.i686 --> Processing Dependency: libisccfg.so.82 for package: 32:bind-utils-9.8.2-0.10 .rc1.el6_3.2.i686 --> Processing Dependency: libisccc.so.80 for package: 32:bind-utils-9.8.2-0.10. rc1.el6_3.2.i686 --> Processing Dependency: libisc.so.83 for package: 32:bind-utils-9.8.2-0.10.rc 1.el6_3.2.i686 --> Processing Dependency: libdns.so.81 for package: 32:bind-utils-9.8.2-0.10.rc 1.el6_3.2.i686 --> Processing Dependency: libbind9.so.80 for package: 32:bind-utils-9.8.2-0.10. rc1.el6_3.2.i686 --> Running transaction check ---> Package bind-libs.i686 32:9.7.3-8.P3.el6_2.3 will be updated --> Processing Dependency: libbind9.so.60 for package: 32:bind-9.7.3-8.P3.el6_2. 3.i686 --> Processing Dependency: libdns.so.69 for package: 32:bind-9.7.3-8.P3.el6_2.3. i686 --> Processing Dependency: libisc.so.62 for package: 32:bind-9.7.3-8.P3.el6_2.3. i686 --> Processing Dependency: libisccc.so.60 for package: 32:bind-9.7.3-8.P3.el6_2. 3.i686 --> Processing Dependency: libisccfg.so.62 for package: 32:bind-9.7.3-8.P3.el6_2 .3.i686 --> Processing Dependency: liblwres.so.60 for package: 32:bind-9.7.3-8.P3.el6_2. 3.i686 --> Processing Dependency: bind-libs = 32:9.7.3-8.P3.el6_2.3 for package: 32:bin d-9.7.3-8.P3.el6_2.3.i686 ---> Package bind-libs.i686 32:9.8.2-0.10.rc1.el6_3.2 will be an update --> Running transaction check ---> Package bind.i686 32:9.7.3-8.P3.el6_2.3 will be updated ---> Package bind.i686 32:9.8.2-0.10.rc1.el6_3.2 will be an update --> Processing Dependency: portreserve for package: 32:bind-9.8.2-0.10.rc1.el6_3 .2.i686 --> Running transaction check ---> Package portreserve.i686 :0.0.4-9.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bind-utils i686 32:9.8.2-0.10.rc1.el6_3.2 updates 180 k Installing for dependencies: portreserve i686 0.0.4-9.el6 base 22 k Updating for dependencies: bind i686 32:9.8.2-0.10.rc1.el6_3.2 updates 4.0 M bind-libs i686 32:9.8.2-0.10.rc1.el6_3.2 updates 882 k Transaction Summary ================================================================================ Install 2 Package(s) Upgrade 2 Package(s) Total download size: 5.0 M Is this ok [y/N]: y Downloading Packages: (1/4): bind-9.8.2-0.10.rc1.el6_3.2.i686.rpm | 4.0 MB 00:08 (2/4): bind-libs-9.8.2-0.10.rc1.el6_3.2.i686.rpm | 882 kB 00:02 (3/4): bind-utils-9.8.2-0.10.rc1.el6_3.2.i686.rpm | 180 kB 00:00 (4/4): portreserve-0.0.4-9.el6.i686.rpm | 22 kB 00:00 -------------------------------------------------------------------------------- Total 349 kB/s | 5.0 MB 00:14 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : 32:bind-libs-9.8.2-0.10.rc1.el6_3.2.i686 1/6 Installing : portreserve-0.0.4-9.el6.i686 2/6 Updating : 32:bind-9.8.2-0.10.rc1.el6_3.2.i686 3/6 Installing : 32:bind-utils-9.8.2-0.10.rc1.el6_3.2.i686 4/6 Cleanup : 32:bind-9.7.3-8.P3.el6_2.3.i686 5/6 Cleanup : 32:bind-libs-9.7.3-8.P3.el6_2.3.i686 6/6 Installed: bind-utils.i686 32:9.8.2-0.10.rc1.el6_3.2 Dependency Installed: portreserve.i686 :0.0.4-9.el6 Dependency Updated: bind.i686 32:9.8.2-0.10.rc1.el6_3.2 bind-libs.i686 32:9.8.2-0.10.rc1.el6_3.2 Complete! |