A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Networking and the Internet with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

HOSTS file and blocking



 
 
Thread Tools Display Modes
  #1  
Old November 26th 04, 05:25 AM
Dan Irwin
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason that it
doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a dns
lookup on victoriasecrests.com



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.


Ads
  #2  
Old November 26th 04, 05:47 AM
Jerry
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

Go here http://w3.quipo.it/gcriaco and get FastNet99 v4.3 and see if it helps. (Free).

"Dan Irwin" harryguy082589@comcast(dot)net wrote in message news:000901c4d370$0830cbb0$0501a8c0@DanTablet...
Hi,



Recently I have been using the hosts file to block certain websites. This has worked for many websites, but it hasn't for two perticualr ones: ccbill.com and victoriasecrets.com Could there be a reason that it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a dns lookup on victoriasecrests.com



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list installed on my HOSTS file.

  #3  
Old November 26th 04, 04:47 PM
Lanwench [MVP - Exchange]
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason that
it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a dns
lookup on victoriasecrests.com


You can't put the public IP addresses in your hosts file like that. Hosts
maps IP addresses to host names - it isn't used to redirect one IP to
another IP.

If you remove the two latter entries, save the hosts file, and then open a
command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter

what IP address do you get in return?



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.



  #4  
Old November 26th 04, 05:29 PM
Chuck
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

On Fri, 26 Nov 2004 10:47:11 -0500, "Lanwench [MVP - Exchange]"
ahoo.com wrote:

Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason that
it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a dns
lookup on victoriasecrests.com


You can't put the public IP addresses in your hosts file like that. Hosts
maps IP addresses to host names - it isn't used to redirect one IP to
another IP.

If you remove the two latter entries, save the hosts file, and then open a
command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.



Also remember that "127.0.0.1 victoriasecrets.com" will block
victoriasecrets.com only. It won't block WWW.victoriasecrets.com.

Blocking access to websites, by using a hosts file, is a cheap and dirty
solution to a problem. But it isn't efficient - you have to have a separate
entry for every server (by full name).

For hierarchical filtering, you need either DNSKong
http://www.accs-net.com/hosts/DNSKong.html, or Proxomitron
http://proxomitron.cjb.net/.

--
Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.
  #5  
Old November 26th 04, 09:21 PM
Dan Irwin
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

I get 127.0.0.1, but the site still works in both iexplorer and firefox

"Lanwench [MVP - Exchange]" ahoo.com wrote in message ...
Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason that
it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a dns
lookup on victoriasecrests.com


You can't put the public IP addresses in your hosts file like that. Hosts
maps IP addresses to host names - it isn't used to redirect one IP to
another IP.

If you remove the two latter entries, save the hosts file, and then open a
command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter

what IP address do you get in return?



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.

  #6  
Old November 26th 04, 11:53 PM
Lanwench [MVP - Exchange]
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

Dan Irwin wrote:
I get 127.0.0.1, but the site still works in both iexplorer and
firefox


With www.sitename.com, right? If you just typed in sitename.com it should
work. If you need www., etc., you need to enter them separately.

"Lanwench [MVP - Exchange]"
ahoo.com wrote in
message ...
Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason
that it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a
dns lookup on victoriasecrests.com


You can't put the public IP addresses in your hosts file like that.
Hosts maps IP addresses to host names - it isn't used to redirect
one IP to another IP.

If you remove the two latter entries, save the hosts file, and then
open a command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter

what IP address do you get in return?



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.



  #7  
Old November 28th 04, 12:03 AM
Dan Irwin
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

yup, that fixed it. Thanks

"Lanwench [MVP - Exchange]" ahoo.com wrote in message ...
Dan Irwin wrote:
I get 127.0.0.1, but the site still works in both iexplorer and
firefox


With www.sitename.com, right? If you just typed in sitename.com it should
work. If you need www., etc., you need to enter them separately.

"Lanwench [MVP - Exchange]"
ahoo.com wrote in
message ...
Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain websites.
This has worked for many websites, but it hasn't for two perticualr
ones: ccbill.com and victoriasecrets.com Could there be a reason
that it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a
dns lookup on victoriasecrests.com

You can't put the public IP addresses in your hosts file like that.
Hosts maps IP addresses to host names - it isn't used to redirect
one IP to another IP.

If you remove the two latter entries, save the hosts file, and then
open a command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter

what IP address do you get in return?



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.

  #8  
Old November 28th 04, 01:51 AM
Lanwench [MVP - Exchange]
external usenet poster
 
Posts: n/a
Default HOSTS file and blocking

Dan Irwin wrote:
yup, that fixed it. Thanks


Glad to help. Using the hosts file isn't the best way to manage this sort of
thing, although it's useful in its own way (and is certainly inexpensive).

"Lanwench [MVP - Exchange]"
ahoo.com wrote in
message ...
Dan Irwin wrote:
I get 127.0.0.1, but the site still works in both iexplorer and
firefox


With www.sitename.com, right? If you just typed in sitename.com it
should work. If you need www., etc., you need to enter them
separately.

"Lanwench [MVP - Exchange]"
ahoo.com wrote in
message ...
Dan Irwin wrote:
Hi,



Recently I have been using the hosts file to block certain
websites. This has worked for many websites, but it hasn't for
two perticualr ones: ccbill.com and victoriasecrets.com Could
there be a reason that it doesn't work for those websites?



Heres what I've put in to block them:

127.0.0.1 victoriassecret.com

127.0.0.1 victoriassecret.com

127.0.0.1 victoriasecret.com

127.0.0.1 victoriasecrets.com

127.0.0.1 victoriassecrets.com

127.0.0.1 ccbill.com

127.0.0.1 213.61.5.9

127.0.0.1 213.61.5.16



213.61.5.9 and 213.61.5.16 are the ip addresses I got when I did a
dns lookup on victoriasecrests.com

You can't put the public IP addresses in your hosts file like that.
Hosts maps IP addresses to host names - it isn't used to redirect
one IP to another IP.

If you remove the two latter entries, save the hosts file, and then
open a command prompt, and type

nbtstat -R enter
and then
ping ccbill.com enter

what IP address do you get in return?



Thanks for your help,



Dan



P.s



I have xp pro and I use fierfox and IE and have the spybot list
installed on my HOSTS file.



 




Thread Tools
Display Modes

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

vB 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 Phantom Windows XP Help and Support 2 November 5th 04 01:10 AM
XP service pack file blocking Aemilius Security and Administration with Windows XP 0 September 14th 04 04:13 AM
SP2 blocking a zip file extraction agentgray Windows Service Pack 2 1 August 20th 04 04:55 PM






All times are GMT +1. The time now is 02:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.