small patch for controlling resolver information cache

2003-02-27 Thread YAMAMOTO Shigeru
Hi all, I make a small patch for mobile users. This patch is controlling cache of resolver information. If seting 'RES_NOCACHE' to 'yes', any application reads /etc/resolv.conf at any DNS quering. I think, it is useful for using heavey network applications, such as mozilla, in mobile

Re: small patch for controlling resolver information cache

2003-02-27 Thread David Malone
On Thu, Feb 27, 2003 at 06:25:31PM +0900, YAMAMOTO Shigeru wrote: If seting 'RES_NOCACHE' to 'yes', any application reads /etc/resolv.conf at any DNS quering. I wonder if it would be better to have a RES_CACHETIME, which you can set in seconds and if it is set then you reread if the last reread