Searched defs:dns_set (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/lib-http/
H A Dhttp-client-host.c129 struct dns_lookup_settings dns_set; local
143 i_zero(&dns_set);
144 dns_set.dns_client_socket_path = cctx->dns_client_socket_path;
145 dns_set.timeout_msecs = cctx->dns_lookup_timeout_msecs;
146 dns_set.ioloop = cctx->ioloop;
147 (void)dns_lookup(hshared->name, &dns_set,
H A Dtest-http-client.c348 struct dns_lookup_settings dns_set; local
366 i_zero_safe(&dns_set);
367 dns_set.dns_client_socket_path = "/var/run/dovecot/dns-client";
368 dns_set.timeout_msecs = 30*1000;
369 dns_set.idle_timeout_msecs = UINT_MAX;
373 dns_client = dns_client_init(&dns_set);
/dovecot/src/lib-program-client/
H A Dprogram-client-remote.c214 struct dns_lookup_settings dns_set; member in struct:program_client_remote
487 prclient->dns_set.dns_client_socket_path =
489 prclient->dns_set.timeout_msecs =
491 dns_lookup(pclient->path, &prclient->dns_set,
/dovecot/src/lib-storage/index/pop3c/
H A Dpop3c-client.c258 struct dns_lookup_settings dns_set; local
277 i_zero(&dns_set);
278 dns_set.dns_client_socket_path =
280 dns_set.timeout_msecs = POP3C_DNS_LOOKUP_TIMEOUT_MSECS;
281 if (dns_lookup(client->set.host, &dns_set,
/dovecot/src/lib-smtp/
H A Dsmtp-client-connection.c1477 struct dns_lookup_settings dns_set; local
1507 i_zero(&dns_set);
1508 dns_set.dns_client_socket_path =
1510 dns_set.timeout_msecs = conn->set.connect_timeout_msecs;
1513 (void)dns_lookup(conn->host, &dns_set,
/dovecot/src/auth/
H A Dauth-request.c2319 struct dns_lookup_settings dns_set; local
2324 i_zero(&dns_set);
2325 dns_set.dns_client_socket_path = AUTH_DNS_SOCKET_PATH;
2326 dns_set.timeout_msecs = AUTH_DNS_DEFAULT_TIMEOUT_MSECS;
2333 dns_set.timeout_msecs = secs*1000;
2342 if (dns_lookup(host, &dns_set, auth_request_proxy_dns_callback, ctx,
/dovecot/src/lib-imap-client/
H A Dimapc-connection.c1861 struct dns_lookup_settings dns_set; local
1890 i_zero(&dns_set);
1891 dns_set.dns_client_socket_path =
1893 dns_set.timeout_msecs = conn->client->set.connect_timeout_msecs;
1902 } else if (*dns_set.dns_client_socket_path == '\0') {
1916 (void)dns_lookup(conn->client->set.host, &dns_set,

Completed in 133 milliseconds