MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to install dig command on CentOS server ?  (Read 3830 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
How to install dig command on CentOS server ?
« on: February 12, 2014, 02:10:26 PM »
dig is a great tool for looking up DNS (domain name server) issues on your web server, or between servers, via SSH (secure shell).  When using it on the CentOS server, you receive an error as below.

Quote
[root@server1 ~]# dig
-bash: dig: command not found

Some control panel providers consider it a security risk & they uninstall it when control panel is being installed. You can simply install it using yum by logging into the server via SSH.

Quote
[root@server1 ~]# yum install bind-utils

Helps in troubleshooting DNS issues which you face from the server.
« Last Edit: April 20, 2014, 09:11:55 AM by Administrator »
MilesWeb.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

How to install dig command on CentOS server ?
« on: February 12, 2014, 02:10:26 PM »