Re: lookup option in /etc/resolv.conf ignored

2007-10-24 Thread Can Erkin Acar
Darrin Chandler wrote: > On Wed, Oct 24, 2007 at 11:46:34PM -0400, Brian wrote: >> Make sure you have restarted Firefox after making changes to >> /etc/resolv.conf. Specifically, the application-level DNS cache will >> contain old data if you have not restarted it. This bit me for 3 >> minutes st

Re: lookup option in /etc/resolv.conf ignored

2007-10-24 Thread Darrin Chandler
On Wed, Oct 24, 2007 at 11:46:34PM -0400, Brian wrote: > Make sure you have restarted Firefox after making changes to > /etc/resolv.conf. Specifically, the application-level DNS cache will > contain old data if you have not restarted it. This bit me for 3 > minutes straight after needing to redir

Re: lookup option in /etc/resolv.conf ignored

2007-10-24 Thread Brian
Make sure you have restarted Firefox after making changes to /etc/resolv.conf. Specifically, the application-level DNS cache will contain old data if you have not restarted it. This bit me for 3 minutes straight after needing to redirect an address. Karel Kulhavy wrote: > I want to make my OS re

Re: lookup option in /etc/resolv.conf ignored

2007-10-17 Thread Craig Skinner
On Sat, Oct 13, 2007 at 10:16:10PM -0700, Claus Assmann wrote: > Are you sure your browser is asking for exactly that name, and not > some name in those domains you specified? For those cases I simply > add the domains with a wildcard to my local DNS server, e.g., > > named.conf: > zone "doublecl

Re: lookup option in /etc/resolv.conf ignored

2007-10-14 Thread Ted Unangst
On 10/13/07, David Vasek <[EMAIL PROTECTED]> wrote: > The resolver.conf file is a configuration file for the resolver. What is > the purpose of the host(1) command using it then, and following only a > part of it and ignoring the rest? It's really messy. > > From the host(1) man page: > "server is

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Claus Assmann
>On 2007/10/13 11:43, Karel Kulhavy wrote: > According to man resolv.conf this should result in /etc/hosts having > priority > over the DNS system. However, it simply doesn't work. Both Firefox and the > "host" command behave as if I didn't do anything. > > Why doesn't it work when man resolv.conf

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Ray Percival
On Oct 13, 2007, at 2:43 AM, Karel Kulhavy wrote: I want to make my OS return 127.0.0.1 on google-analytics.com and ad.doubleclick.net to speed up the work with Sourceforge. I put 127.0.0.1 google-analytics.com 127.0.0.1 ad.doubleclick.net into /etc/hosts and checked that /etc/resolv.conf cont

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread David Vasek
On Sat, 13 Oct 2007, Stuart Henderson wrote: On 2007/10/13 11:43, Karel Kulhavy wrote: According to man resolv.conf this should result in /etc/hosts having priority over the DNS system. However, it simply doesn't work. Both Firefox and the "host" command behave as if I didn't do anything. Why

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Lars Noodén
Claudio Jeker wrote: > Because neither the host command nor firefox are using gethostbyname() and > friends. So both do not look at /etc/hosts on the other hand most other > apps like ping, telnet, ssh or nc are using gethostbyname() and therefor > read /etc/hosts. A DNS cache like DNSmasq would

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Stuart Henderson
On 2007/10/13 11:43, Karel Kulhavy wrote: > According to man resolv.conf this should result in /etc/hosts having priority > over the DNS system. However, it simply doesn't work. Both Firefox and the > "host" command behave as if I didn't do anything. > > Why doesn't it work when man resolv.conf sa

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread RW
On Sat, 13 Oct 2007 11:43:46 +0200, Karel Kulhavy wrote: >I want to make my OS return 127.0.0.1 on google-analytics.com and >ad.doubleclick.net to speed up the work with Sourceforge. > >I put >127.0.0.1 google-analytics.com >127.0.0.1 ad.doubleclick.net >into /etc/hosts > >and checked that /etc/r

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Claudio Jeker
On Sat, Oct 13, 2007 at 11:43:46AM +0200, Karel Kulhavy wrote: > I want to make my OS return 127.0.0.1 on google-analytics.com and > ad.doubleclick.net to speed up the work with Sourceforge. > > I put > 127.0.0.1 google-analytics.com > 127.0.0.1 ad.doubleclick.net > into /etc/hosts > > and check

lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Karel Kulhavy
I want to make my OS return 127.0.0.1 on google-analytics.com and ad.doubleclick.net to speed up the work with Sourceforge. I put 127.0.0.1 google-analytics.com 127.0.0.1 ad.doubleclick.net into /etc/hosts and checked that /etc/resolv.conf contains lookup file bind According to man resolv.conf