Jump to content

Blocking youtube, hosts file dont cut it


hsncorrosion

Recommended Posts

Odd

I've blocked sites with windows hosts file before but youtube does not block!

I've tired it and it wont.

Any ideas guys?

p.s.

if your wondering why im blocking youtube its because my sister uses it to listen to music and shes on soo much (while she grounded) my mom threatened to disconnect the internet, not a risk im willing to take.

Link to comment
Share on other sites

In bold does not seem to work, the others do perfectly

# Copyright © 1993-1999 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

#      102.54.94.97    rhino.acme.com          # source server

#      38.25.63.10    x.acme.com              # x client host

127.0.0.1      localhost

# block myspace.com host names

127.0.0.1 log.myspace.com

127.0.0.1 browseusers.myspace.com

127.0.0.1 classifieds.myspace.com

127.0.0.1 collect.myspace.com

127.0.0.1 events.myspace.com

127.0.0.1 favorites.myspace.com

127.0.0.1 forum.myspace.com

127.0.0.1 groups.myspace.com

127.0.0.1 home.myspace.com

127.0.0.1 invite.myspace.com

127.0.0.1 linux.myspace.com

127.0.0.1 login.myspace.com

127.0.0.1 message.myspace.com

127.0.0.1 messages.myspace.com

127.0.0.1 music.myspace.com

127.0.0.1 mx2.myspace.com

127.0.0.1 myspace.com

127.0.0.1 ns1.myspace.com

127.0.0.1 ns2.myspace.com

127.0.0.1 profile.myspace.com

127.0.0.1 rio.myspace.com

127.0.0.1 search.myspace.com

127.0.0.1 vids.myspace.com

127.0.0.1 viewmorepics.myspace.com

127.0.0.1 vmta01.myspace.com

127.0.0.1 vmta02.myspace.com

127.0.0.1 vmta03.myspace.com

127.0.0.1 vmta04.myspace.com

127.0.0.1 vmta05.myspace.com

127.0.0.1 vmta06.myspace.com

127.0.0.1 vmta07.myspace.com

127.0.0.1 vmta08.myspace.com

127.0.0.1 vmta09.myspace.com

127.0.0.1 vmta10.myspace.com

127.0.0.1 vmta11.myspace.com

127.0.0.1 vmta12.myspace.com

127.0.0.1 vmta13.myspace.com

127.0.0.1 www.myspace.com

127.0.0.1 www1.myspace.com

127.0.0.1 videos.myspace.com

127.0.0.1 mail.myspace.com

127.0.0.1 signup.myspace.com

127.0.0.1 security.myspace.com

#Block Proxies

127.0.0.1 ocrig.com

127.0.0.1 www.ocrig.com

#Block Youtube

127.0.0.1 youtube.com

127.0.0.1 www.youtube.com

Link to comment
Share on other sites

Make sure you block their IP address as well.

#YouTube
127.0.0.1   youtube.com
127.0.0.1   www.youtube.com
127.0.0.1   208.65.153.251

What OS are you running, and where is the file saved?

"c:windows" for 95 and 98.

"C:windowssystem32driversetc" for XP

Also make sure it does not have any file extension on it, like txt.

Link to comment
Share on other sites

They might be using a proxy to get around it but I havent had too much luck with YouTube and proxies working well together.

Link to comment
Share on other sites

Start using a DNS server you control and poison it.

You do realize what you just said, right?  :lol:

I think if he can't get a hosts file to work, what are his chances with your suggestion?

If anything, try and route through OpenDNS and use their site to block access to it, but you shouldn't be having these issues with the hosts file to begin with. Something is not set properly somewhere on that pc.

Link to comment
Share on other sites

There are an awful lot of myspace subdomains to block (and the probability of missing at least one).  Is it possible to have a wild card or does each subdomain have to be listed explicitly?

If using the hosts file, each has to be listed. Other methods, like a firewall package or proxy that can block sites using wildcards might work.

Link to comment
Share on other sites

Do you have access to another machine you can use or are you having to make do with a single box for this? If you have a seperate PC you can do a lot more with the filtering, if you don't it would be easier to just get your mum to ban her from using the PC all together.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...