Question - You have an IP address in your network, how will you find the hostname and vice versa?
Answer -
nslookup command is used to query internet domain name servers which can be used to find hostname from an IP address and for reverse lookup also, Similarly host command can also be used.