ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label dig. Show all posts
Showing posts with label dig. Show all posts

2011/05/12

How to install commands host, dig and nslookup in linux.


In a new linux server, when you try to run the command given below, it will be getting error.

[root@server /]# host abhionlinux.in
-bash: host: command not found

In such cases, you need to install the bind-utils package in the server.

1. ssh to the server.
2 run the command
[root@server /]# yum install bind-utils

Now host, dig and nslookup will be working fine.