Date: Fri, 22 Nov 1996 22:30:01 -0800 (PST) From: Peter Wemm <peter@spinner.DIALix.COM> To: freebsd-bugs Subject: Re: bin/2090: clients may bind to FreeBSD ypserv refusing to serve them Message-ID: <199611230630.WAA12246@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2090; it has been noted by GNATS. From: Peter Wemm <peter@spinner.DIALix.COM> To: Bill Paul <wpaul@skynet.ctr.columbia.edu> Cc: Tor.Egge@idt.ntnu.no, freebsd-gnats-submit@freebsd.org Subject: Re: bin/2090: clients may bind to FreeBSD ypserv refusing to serve them Date: Sat, 23 Nov 1996 14:22:13 +0800 Bill Paul wrote: > > - Don't let the ypserv process fork for gethostbyname() > > lookups. Use async dns lookups instead. > > This has been on my mind for a while, but it's fallen victim to a > severe lack of round tuits. One reason I've been putting it off is > that doing this 'correctly' would probably mean bolting some of the > BIND code directly onto ypserv. This would lead to yet another upgrade > headache when new BIND versions are released. Another option is to fork() once and have the parent and child communicate over a pipe. This is a pretty common approach, especially for things like WWW caches (eg: squid, harvest cached), MUD game drivers, etc. FWIW, there's an async DNS resolver in the later versions of the irc servers, but I seem to recall that it's been contaminated with GPL code. Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611230630.WAA12246>