Javatpoint Logo
Javatpoint Logo

Linux host

This command displays domain name for given IP address and displays IP address for given domain name. It also performs DNS lookups related to DNS query.


Linux Host1

Look at the above snapshot, on entering domain name we got IP address and on entering IP address we got domain name.

host -t

This command helps to find DNS resource records like SOA, NS, A, PTR, CNAME, MX, SRV.


Linux Host2

Look at the above snapshot, we have displayed different DNS resource records.

Next TopicLinux arp

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA