Re: hosts file and caching name server

2007-02-05 Thread Craig Skinner
On Fri, Feb 02, 2007 at 05:40:33PM +0100, Daniel Polak wrote: > Is it possible to have bind consult the hosts file (or an equivalent) > before querying DNS? > > Entries in /etc/hosts only seem to work for lookups done for the OpenBSD > machine itself but not for clients using the caching DNS. >

Re: hosts file and caching name server

2007-02-02 Thread Andrey Shuvikov
On 2/2/07, Mike Erdely <[EMAIL PROTECTED]> wrote: I've used dnsspoof from the dsniff package for something similar before. I didn't spend too much time looking, but it seems that dnsmasq does what you want. (http://www.thekelleys.org.uk/dnsmasq/doc.html) It's also in packages. One thing about

Re: hosts file and caching name server

2007-02-02 Thread Mike Erdely
Daniel Polak wrote: Is it possible to have bind consult the hosts file (or an equivalent) before querying DNS? I've used dnsspoof from the dsniff package for something similar before. I didn't spend too much time looking, but it seems that dnsmasq does what you want. (http://www.thekelleys.org

Re: hosts file and caching name server

2007-02-02 Thread Stuart Henderson
On 2007/02/02 17:40, Daniel Polak wrote: > Is it possible to have bind consult the hosts file (or an equivalent) > before querying DNS? No, it isn't.