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).