---
name: "firedns_resolveip4list"
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_resolveip4list"
---

# firedns\_resolveip4list(3)

Resolve a list of A records of a hostname

## NAME

firedns\_resolveip4list - Resolve a list of A records of a hostname

## SYNOPSIS

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

**struct firedns\_ip4list \*firedns\_resolveip4list(const char \* const** *name***)**\
 **struct firedns\_ip4list \*firedns\_resolveip4list\_r(const char \* const** *name***)**

## DESCRIPTION

firedns\_resolveip4list() attempts to resolve a list of A records for the hostname *name*.

## RETURN VALUE

Returns a pointer to an internal static *struct firedns\_ip4list \**. This structure is the first of a linked list.  It contains:

	struct in\_addr ip;\
\
 	struct firedns\_ip4list \*next;

This function returns NULL on error.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

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