a rather novel and ultimately not recommended for production solution would be to use dns-spoof which is a part of the dsniff package - you can basically give it hosts file format file and a tcpdump regex and it will forge replies for you
you would, of course, have to run it on your gateway machine for it to be effective (assuming you're on a switched network) On 8/9/07, Ershad Shafi Chowdhury <[EMAIL PROTECTED]> wrote: > have you considered using the "hosts" file to resolve names internally? its > ok for a couple of machines, but if you have hundreds, then views seems to > be the way to go. > > On 8/9/07, Alex Samad <[EMAIL PROTECTED]> wrote: > > > > On Wed, Aug 08, 2007 at 06:22:46PM +1000, Sonia Hamilton wrote: > > > * On Wed, Aug 08, 2007 at 08:21:42AM +1000, Alex Samad wrote: > > > > I have a domain that is has its primary at dyndns.org. say > > example.com. when > > > > I am at home I would like my internal DNS server to service > > example.com by > > > > making a request to the proper NS servers. But for 1 or 2 select > > names ie say > > > > mail.example.com I would like my internal DNS to return values that I > > specify. > > > > > > I know mention of DJ Bernstein makes many froth at the mouth, but he > > > does have some useful tools. One of them, axfr-get [1] I think, allows > > > you to do a zone transfer and print out the results in bind compatible > > > format (or it could be another one of his tools). From there use a > > > script to change the required records, etc, etc. > > > > > > Dig might also be able to be used; also the O'Reilly DNS cookbook > > > probably has a section on how to do this using views. > > > > yeah looked at this, this was going to be my approach, but they do not > > allow > > AXFR (dig <domain> AXFR) from unknown sources... > > > > > > > > > > > > [1] http://cr.yp.to/djbdns/axfr-get.html > > > > > > -- > > > Sonia Hamilton | GNU/Linux - 'free' as in > > > . | free speech, not free beer. > > > -- > > > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > > > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > iD8DBQFGuj0GkZz88chpJ2MRAne1AKCIjUykMXCXaUySw8q3apHmBZ2q7QCgutV5 > > DFO+fh4Iaq0IXrbfyj8JldU= > > =gv87 > > -----END PGP SIGNATURE----- > > > > -- > > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > > > > > > -- > Ershad Chowdhury > [EMAIL PROTECTED] > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
