---
name: "firedns_resolveip6"
section: "3"
platform: "linux"
package: "libfiredns-dev"
version: "0.9.12+dfsg-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/firedns_resolveip6"
---

# firedns\_resolveip6(3)

Resolve a hostname to an IPv6 address

## NAME

firedns\_resolveip6 - Resolve a hostname to an IPv6 address

## SYNOPSIS

**#include \<firedns.h\>**\
 **-lfiredns**

**struct in6\_addr \*firedns\_resolveip6(const char \* const** *name***)**\
 **struct in6\_addr \*firedns\_resolveip6\_r(const char \* const** *name***)**

## DESCRIPTION

firedns\_resolveip6() attempts to resolve the hostname *name* to an IPv6 address.

## RETURN VALUE

Returns a pointer to an internal static *struct in6\_addr* that contains the IP address of *name* in binary format, or *NULL* on error.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

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