LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2005, 12:26 PM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
host file


Hi
i edite the host file to force to lacal 127.0.0.1 unwanted web site.
but this function only if i have a direct connection to internet,if i pass thought my provider http proxy (proxy.libero.it) this does not fuction.
to bypass i have to specify to mozilla the list of site that does not use proxy.
it seems that mozilla process the host file only for the web site listed on his
parameter .
(this cause to me to repeat all the info in the host file...(i have a long list
of black list sites.......)
is there a way to force the host file processing first ?
thanks in advance
Maurizio
 
Old 09-01-2005, 01:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Mozilla doesn't ever look at the hosts file. What happens is that mozilla performs a DNS lookup for a given hostname, and the system checks /etc/hosts, then the DNS server. When using a proxy, the only DNS lookup performed is that of the proxy (as that is what Mozilla is connecting to). The proxy could look at ITS /etc/hosts file, but I doubt you have access to that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
host file wooot Linux - Software 2 04-26-2005 10:27 AM
I need a file host wuya General 5 04-25-2005 12:33 AM
FC3 host file tommytomato Linux - Newbie 2 12-15-2004 07:17 AM
host file in win2k bm1 Linux - Networking 2 10-07-2004 02:28 AM
Need your etc/host file Zeth_htp Linux - General 5 03-04-2003 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration