TTL's should never be 0. TTL's shouldn't even come close to that. This is a misconfigured DNS server.
You can report this bug to the person who wrote the DNS client lib we use (www.xbill.org/dnsjava) as to how to better handle a misconfigured DNS server, but I figure we'll be hopefully moving to JNDI DNS interface at some point anyway. I'm not sure how that library would handle this DNS server. -- Serge Knystautas President Lokitech >> software . strategy . design >> http://www.lokitech.com/ p. 1.301.656.5501 e. [EMAIL PROTECTED] Cai Jeff wrote: > How about my question? Any idea? > >>hi, >> >>One of our users wants to mail to the address >>[EMAIL PROTECTED] but faild. The james reported >>James.Mailet: RemoteDelivery: No mail server found >>for: bdi.com.cn. >>When I used nslookup I can get the following MX RR, >>bdi.com.cn mail exchanger = 10 mail.bdi.com.cn. >>bdi.com.cn mail exchanger = 10 >>notesmtp.bdi.com.cn. >>But if I used dig I found the TTL is 0s for those MX >>RR: >>bdi.com.cn. 0 IN MX 10 >>mail.bdi.com.cn. >>bdi.com.cn. 0 IN MX 10 >>notesmtp.bdi.com.cn. >>Then I looked into the source of DNSServer.java, I >>found that when doing the DNS query, james first >>tries >>to find the result in the cache, if not exists then >>it >>queries the configed DNS to get the results and put >>it >>in to the cache, then it queries again from the >>cache >>and return the results. >>But if the results TTL is 0s, I guess that the cache >>would never caches them. So the second query from >>cache could not get anything. >>Why james must do the second query from the cache? >>After the first query it gets the results and put >>them >>into the cache, why just return these results? >> >>Thanks >> >> >> >> > > _________________________________________________________ > >>Do You Yahoo!? >>流连网络世界的“你”是谁? >> > > http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 > >> > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: >>[EMAIL PROTECTED] >>For additional commands, e-mail: >>[EMAIL PROTECTED] >> > > > _________________________________________________________ > Do You Yahoo!? > 流连网络世界的“你”是谁? > http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_may2003 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]