Wietse Venema: > Rosen Penev: > > uClibc-ng does not have res_send or res_nsend. > > You removed the call that sends the DNS query, without providing > a replacement. Now you have a Postfix that builds but sends no DNS > queries.
To be precise, this call implements the dns_ncache_ttl_fix_enable workaround in case of an unexpected incompatible change in the result from res_query(). Postfix needs the complete DNS server response from res_query(), even if the DNS server responds that the requested information does not exist. The Postfix workaround uses res_send() instead. If res_send() is unavailable, you may just as well #ifdef out the code that calls dns_res_query(), starting at : if (keep_notfound && var_dns_ncache_ttl_fix) { len = dns_res_query((char *) name, C_IN, type, reply->buf, reply->buf_len); uClibc-ng does not come with res_send(), so the res_query() implementation will be different, and it may or may not return the information that Postfix wants to see. You use a non-standard library at your own risk. Wietse