Lines Matching refs:dname
663 srv_query(res_state state, const char *svc_name, const char *dname,
707 } else if (dname != NULL) {
710 svc_name, dname);
713 len = res_nquerydomain(state, svc_name, dname, C_IN, T_SRV,
719 svc_name, dname,
1286 char *dname, *srvname;
1317 dname = strdup(srvname + strlen(LDAP_SRV_HEAD DC_SRV_TAIL) +
1322 if (dname == NULL) {
1328 len = strlen(dname);
1329 if (len > 0 && dname[len - 1] == '.')
1330 dname[len - 1] = '\0';
1333 logger(LOG_DEBUG, "Our domain name: %s", dname);
1334 update_item(&ctx->domain_name, dname, AD_STATE_AUTO, ttl);