Lines Matching refs:dname
150 res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut() argument
164 result = res_findzonecut2(statp, dname, class, opts, zname, zsize, in res_findzonecut()
175 res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts, in res_findzonecut2() argument
185 dname, p_class(class), (long)zsize, naddrs)); in res_findzonecut2()
193 if ((n = get_soa(statp, dname, class, opts, zname, zsize, in res_findzonecut2()
265 get_soa(res_state statp, const char *dname, ns_class class, int opts, in get_soa() argument
281 if (ns_makecanon(dname, tname, sizeof tname) < 0) in get_soa()
283 dname = tname; in get_soa()
292 while (*dname == '.') in get_soa()
293 dname++; in get_soa()
296 n = do_query(statp, dname, class, ns_t_soa, resp, &msg); in get_soa()
299 dname, p_class(class), n)); in get_soa()
335 if (ns_samedomain(dname, t) == 0) { in get_soa()
338 dname, t) in get_soa()
345 if (ns_samename(dname, t) == 1 || in get_soa()
346 ns_samedomain(dname, t) == 0) { in get_soa()
349 dname, t) in get_soa()
383 if (*dname == '\0') in get_soa()
387 while (*dname != '.') { in get_soa()
388 if (*dname == '\\') in get_soa()
389 if (*++dname == '\0') { in get_soa()
393 dname++; in get_soa()
656 find_ns(rrset_ns *nsrrsp, const char *dname) { in find_ns() argument
660 if (ns_samename(nsrr->name, dname) == 1) in find_ns()
666 do_query(res_state statp, const char *dname, ns_class class, ns_type qtype, in do_query() argument
672 n = res_nmkquery(statp, ns_o_query, dname, class, qtype, in do_query()