[rescue] Tricking DNS

Sheldon T. Hall rescue at sunhelp.org
Sun Oct 21 21:37:00 CDT 2001


Is there an easy way to preload a caching DNS (standard Solaris 7 one) with
a bunch of addresses, without setting up zone files and pretending to be the
real DNS for the domains involved?

Currently, we're running our PCs with hosts files that have a lot of
advertising
servers and other sites "blanked" by referring them to localhost:

127.0.0.1    advertiser.com
127.0.0.1    foo.advertiser.net
127.0.0.1    popups-r-us.com

This works very well, but updating the hosts files on all the machines is a
PITA.  I'm running a local caching DNS server, and I'd rather do it there if
I can.

Clues appreciated.  Thanks.

-Shel
--
Sheldon T. Hall
shel at cmhc.com
206-842-2858
206-780-7971





More information about the rescue mailing list