Skip to main content

host utility for redhat linux

host is a simple utility for performing DNS lookups. In order to use it dnsutil package should be installed on redhat systems.

For example if you want to check kerberos srv records from AD (Active Directory) infrastructure.

# host -t srv _kerberos._tcp.example.local
_kerberos._tcp.example.local has SRV record 0 100 88 srv1.example.local.
_kerberos._tcp.example.local has SRV record 0 100 88 srv2.example.local.
_kerberos._tcp.example.local has SRV record 0 100 88 srv3.example.local.
_kerberos._tcp.example.local has SRV record 0 100 88 srv4.example.local.


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.