firedns_resolvecname(3)

firedns_resolvecname3

Resolve the canonical name of a host

Usage

#include <firedns.h>
-lfiredns

char *firedns_resolvecname(const char * name)
char *firedns_resolvecname_r(const char * name)

Overview

firedns_resolvecname() attempts to resolve the canonical name (CNAME) of name.

Return value

Returns a pointer to an internal static char * that contains a CNAME ip, or NULL if there is no such record (indicating that you already have the canonical name of the host).

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

Author

Ian Gulliver <[email protected]>

From libfiredns-dev 0.9.12+dfsg-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.