On Tue, 24 Sep 2002 19:27:55 GMT Sean 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?
Yes, it's called tinydns. ;) In a nutshell, the setup for that
you describe on Bering rc3 is:
1.) Install tinydns.lrp .
2.) Edit /etc/tinydns-private/env/DOMAINS to include the
domains you want to set to 127.0.0.1. E.g.:
doubleclick.net
doubleclick.com
3.) Edit /etc/tinydns-private/root/data to include NS and
PTR records for the domains:
.doubleclick.net:192.168.1.254 # your internal fw address
=doubleclick.net:127.0.0.1
=*.doubleclick.net:127.0.0.1
.doubleclick.com:192.168.1.254 # your internal fw address
=doubleclick.com:127.0.0.1
=*.doubleclick.com:127.0.0.1
4.) svi tinydns restart
5.) Test.
6.) Backup tinydns package.
Most of the details above are from memory, but it should be close.
If you are running dnscache and tinydns together, as is typically
done, the Bering dnscache and tinydns packages[1] take care of most
behind-the-scene details via the startup scripts. For other LEAF
variants, you may have to make other configuration adjustments like
manually adding entries for the domains you are intercepting to the
dnscache /etc/dnscache/root/servers directory.
--Brad
[1] http://leaf.sourceforge.net/devel/jnilo/
-------------------------------------------------------
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