login
Header Space

 
 

lookup option in /etc/resolv.conf ignored

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD <misc@...>
Date: Saturday, October 13, 2007 - 5:43 am

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 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 says it should?

CL<
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lookup option in /etc/resolv.conf ignored, Karel Kulhavy, (Sat Oct 13, 5:43 am)
Re: lookup option in /etc/resolv.conf ignored, Brian, (Wed Oct 24, 11:46 pm)
Re: lookup option in /etc/resolv.conf ignored, Darrin Chandler, (Wed Oct 24, 11:58 pm)
Re: lookup option in /etc/resolv.conf ignored, Ray Percival, (Sat Oct 13, 12:32 pm)
Re: lookup option in /etc/resolv.conf ignored, Stuart Henderson, (Sat Oct 13, 6:54 am)
Re: lookup option in /etc/resolv.conf ignored, David Vasek, (Sat Oct 13, 7:12 am)
Re: lookup option in /etc/resolv.conf ignored, Ted Unangst, (Sun Oct 14, 3:05 pm)
Re: lookup option in /etc/resolv.conf ignored, Claus Assmann, (Sun Oct 14, 1:16 am)
Re: lookup option in /etc/resolv.conf ignored, Craig Skinner, (Wed Oct 17, 4:42 am)
Re: lookup option in /etc/resolv.conf ignored, Claudio Jeker, (Sat Oct 13, 6:32 am)
Re: lookup option in /etc/resolv.conf ignored, Lars Noodén, (Sat Oct 13, 7:17 am)
speck-geostationary