Home | History | Annotate | Download | only in net

Lines Matching refs:domain

209 	const char *name;	/* domain name */
1354 * (i.e., with the succeeding search-domain tacked on).
2158 res_queryN(const char *name, /* domain name */ struct res_target *target,
2265 const char *cp, * const *domain;
2320 * the domain stuff is tried. Will have a better
2325 for (domain = (const char * const *)res->dnsrch;
2326 *domain && !done;
2327 domain++) {
2329 ret = res_querydomainN(name, *domain, target, res);
2335 * If name isn't found in this domain,
2340 * from finding this entry higher in the domain.
2407 * Perform a call on res_query on the concatenation of name and domain,
2408 * removing a trailing dot from name if domain is NULL.
2411 res_querydomainN(const char *name, const char *domain,
2424 name, domain?domain:"<Nil>");
2426 if (domain == NULL) {
2443 d = strlen(domain);
2448 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain);