HOWTO resolve host name on CentOS, RHEL or Red Hat

It isn't installed nslookup or dig on CentOS by default  anymore. If you want to resolve host names from command-line you should install bind-utils.

#yum install bind-utils

Systemwide nameserver(s) is defined in file /etc/resolv.conf

Enjoy!

No comments:

Asterisk AST_SORCERY function

 AST_SORCERY gets a field from a sorcery object. Sorcery is always created for PJSIP aors, endpoints and identifies in asterisk. It allows y...