---
name: "fdnsip"
section: "1"
platform: "linux"
package: "firedns"
version: "0.9.12+dfsg-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fdnsip"
---

# fdnsip(1)

resolve a hostname to an IPv4 address

## NAME

fdnsip - resolve a hostname to an IPv4 address

## SYNOPSIS

**fdnsip** *\<hostname\>*

## DESCRIPTION

fdnsip will attempt to look up a single IPv4 address for *hostname*. If one is found, it is printed to standard output and the program exits with return code 0.  If not, nothing is printed and the program exits with return code 1.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfiredns**(3)](/libfiredns/3.md)
