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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |