Re: Do you use HOSTS file ?

From: Thor Kottelin (thor_at_anta.net)
Date: 07/24/04


Date: Sat, 24 Jul 2004 11:03:45 +0300


Duane Arnold wrote:
>
> Thor Kottelin <thor@anta.net> wrote in news:4101429C.C3F47A91@anta.net:

> > You cannot know the absolute location of the hosts file. For example,
> > the hosts file of the XP machine I'm writing this on is not located
> > where you state it is.

> If the HOST file is in play on the O/S, then I have not seen a command
> the can be set to direct the O/S to look else where for the Host file.

It's the hosts file, not the Host or HOST file. Its location is specified in
DataBasePath, under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.

> I expect any program Web application or not that's using a URL to access
> a site and the Domain Name is in the HOST file with 127.0.0.1, then I
> expect the contact to be stopped by the machine.
>
> However, if IE is using the proxy setting, then the HOST file is
> bypassed.

When your browser uses a proxy server, the only host name it needs to
resolve is that of the proxy. The hosts file isn't actually bypassed; you
can still use it to specify the IP address of the proxy.

Thor

-- 
http://www.anta.net/


Relevant Pages

  • Re: How many firewalls is too many?
    ... then IE bypasses the HOST file. ... > use of a proxy for IE should have any effect on how the system does ... > DNS lookups... ...
    (comp.security.firewalls)
  • [Full-disclosure] Mozillat trashing host file
    ... > Upon return, when she tries to go to her specified homepage, it ... > tries to access the hotel's proxy or autorization ... > server - no, no proxy settings set. ... host file with the business related entries we need (no arp cache ...
    (Full-Disclosure)
  • Re: [Error number: 0x8024402C] How to fix..?........
    ... Hey, Pedro, LMHosts isn't your problem, you have a proxy server. ... remove characters from the proxy exception ... Open Internet Explorer. ... > soposed to change in the host file if it is the host file you change..... ...
    (microsoft.public.windowsupdate)
  • Re: How many firewalls is too many?
    ... then IE bypasses the HOST file. ... > use of a proxy for IE should have any effect on how the system does DNS ... If you configure IE to use a proxy server the IE will just pass the hostname ...
    (comp.security.firewalls)
  • Re: OSD deploy CD account
    ... manually specify the path to the image file, using the same user account ... I think I'll investigate how to add a HOST file to WinPE. ...
    (microsoft.public.sms.tools)