Lines Matching refs:dns
293 struct Curl_dns_entry *dns = NULL; in do_SOCKS4() local
325 Curl_resolv(data, sx->hostname, sx->remote_port, TRUE, &dns); in do_SOCKS4()
344 dns = Curl_fetch_addr(data, sx->hostname, conn->primary.remote_port); in do_SOCKS4()
346 if(dns) { in do_SOCKS4()
348 data->state.async.dns = dns; in do_SOCKS4()
355 result = Curl_resolv_check(data, &dns); in do_SOCKS4()
356 if(!dns) { in do_SOCKS4()
371 if(dns) { in do_SOCKS4()
372 hp = dns->addr; in do_SOCKS4()
391 Curl_resolv_unlink(data, &dns); /* not used anymore from now on */ in do_SOCKS4()
591 struct Curl_dns_entry *dns = NULL; in do_SOCKS5() local
799 TRUE, &dns); in do_SOCKS5()
815 dns = Curl_fetch_addr(data, sx->hostname, sx->remote_port); in do_SOCKS5()
817 if(dns) { in do_SOCKS5()
819 data->state.async.dns = dns; in do_SOCKS5()
825 if(!dns) { in do_SOCKS5()
826 result = Curl_resolv_check(data, &dns); in do_SOCKS5()
827 if(!dns) { in do_SOCKS5()
839 if(dns) in do_SOCKS5()
840 hp = dns->addr; in do_SOCKS5()
896 Curl_resolv_unlink(data, &dns); /* not used anymore from now on */ in do_SOCKS5()