res_querydomain()

The res_querydomain() call queries the concatenation of name and domain.

Syntax

#include <sys\types.h>
#include <netinet\in.h>
#include <arpa\nameser.h>
#include <resolv.h>
int res_querydomain(name, domain class, type, answer, anslen)
char *name;
char *domain;
int class;
int type;
u_char *answer;
int anslen;

Parameters

domain

name class