On 2002.09.24_19:27:55_+0000, [EMAIL PROTECTED] wrote: > Is there any way to pre-load the dnscache with some > entries? Like telling it that *.doubleclick.* and > *.x10.* are 127.0.0.1? >
As Charles and Britz suggested, use tinydns and dnscache to achieve that. Please also note that to run tinydns and dnscache on one machine, you got to have two different IP addresses. It is fine to have either dnscache or tinydns to listen to the loopback (127.0.0.1) address, but only localhost can query that. See: http://cr.yp.to/djbdns/faq/orientation.html#programs Useful links: http://www.leaf-project.org/devel/jnilo/tinydns.html http://cr.yp.to/djbdns.html http://www.lifewithdjbdns.org Start with the first, it should get you on the right track. Also note that Bering tinydns package have configuration specific to itself. I am talking about /etc/tinydns-private/env/DOMAINS file. It will automatically create the appropriate files in /etc/dnscache/root/servers and have dnscache send query to local instead of querying the Internet for the domains. > TIA > > Sean > HTH -- H. D. Lee ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
