---
name: "clufindhostname"
section: "8"
platform: "linux"
package: "rgmanager"
version: "3.1.8-1.2+b1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/clufindhostname"
---

# clufindhostname(8)

Find a hostname or IP address given the other.

## NAME

clufindhostname - Find a hostname or IP address given the other.

## SYNOPSIS

**clufindhostname** **\[-i \<ip\_address\>\]** **\[-n \<hostname\>\]**

## DESCRIPTION

The **clufindhostname** command is a wrapper around [gethostbyname(3)](/gethostbyname/3.md) and [gethostbyaddr(3)](/gethostbyaddr/3.md).

## OPTIONS

- \-i \<ip\_address\>

  Call [gethostbyaddr(3)](/gethostbyaddr/3.md) on specified IP address.

- \-n \<hostname\>

  Call [gethostbyname(3)](/gethostbyname/3.md) on specified hostname.

## SEE ALSO

[host(1)](/host/1.md), [gethostbyname(3)](/gethostbyname/3.md), [gethostbyaddr(3)](/gethostbyaddr/3.md)
