- Jun 4, 2005
- 19,723
- 1
- 0
Originally posted by: Specop 007
I dont even know what the hell I use my hosts file for, nor how I use it.
So...0. Or 1. Whatever the default would be.
And any attempt to connect to www.myspace.com would redirect you to 127.0.0.1(localhost)127.0.0.1 www.myspace.com
Originally posted by: TheGoodGuy
i use mike's no ad hosts list.. so that is however long it is..
http://everythingisnt.com/hosts.html
Originally posted by: LoKe
Originally posted by: Specop 007
I dont even know what the hell I use my hosts file for, nor how I use it.
So...0. Or 1. Whatever the default would be.
You can redirect website using your hosts file. It's an easy way of blocking a website, too.
Say you want to block MySpace, you should put this line in your hosts file:
And any attempt to connect to www.myspace.com would redirect you to 127.0.0.1(localhost)127.0.0.1 www.myspace.com
My HOSTS file is dedicated to blocking ads.
Originally posted by: TheGoodGuy
i use mike's no ad hosts list.. so that is however long it is..
http://everythingisnt.com/hosts.html
About, 1360 lines.
Originally posted by: sinucus
You forgot to tell him where it was.
%systemroot%\system32\drivers\etc
Originally posted by: LoKe
Originally posted by: sinucus
You forgot to tell him where it was.
%systemroot%\system32\drivers\etc
Or /etc/hosts.
Originally posted by: LoKe
Originally posted by: Specop 007
I dont even know what the hell I use my hosts file for, nor how I use it.
So...0. Or 1. Whatever the default would be.
You can redirect website using your hosts file. It's an easy way of blocking a website, too.
Say you want to block MySpace, you should put this line in your hosts file:
And any attempt to connect to www.myspace.com would redirect you to 127.0.0.1(localhost)127.0.0.1 www.myspace.com
My HOSTS file is dedicated to blocking ads.
Originally posted by: TheGoodGuy
i use mike's no ad hosts list.. so that is however long it is..
http://everythingisnt.com/hosts.html
About, 1360 lines.
Originally posted by: Specop 007
Oh my, this could be fun. My roommate is a Myspace whore....Hope she doesnt wanna get laid anytime soon.....![]()
Would redirect them to google. Think of the possibilities...www.google.com www.myspace.com
Originally posted by: MS Dawn
We're not allowed to use them. :Q
DNS > hosts.*![]()
Originally posted by: LoKe
Originally posted by: Specop 007
Oh my, this could be fun. My roommate is a Myspace whore....Hope she doesnt wanna get laid anytime soon.....![]()
You can get creative with it, too.
Would redirect them to google. Think of the possibilities...www.google.com www.myspace.com
Originally posted by: Specop 007
Originally posted by: LoKe
Originally posted by: Specop 007
I dont even know what the hell I use my hosts file for, nor how I use it.
So...0. Or 1. Whatever the default would be.
You can redirect website using your hosts file. It's an easy way of blocking a website, too.
Say you want to block MySpace, you should put this line in your hosts file:
And any attempt to connect to www.myspace.com would redirect you to 127.0.0.1(localhost)127.0.0.1 www.myspace.com
My HOSTS file is dedicated to blocking ads.
Originally posted by: TheGoodGuy
i use mike's no ad hosts list.. so that is however long it is..
http://everythingisnt.com/hosts.html
About, 1360 lines.
Oh my, this could be fun. My roommate is a Myspace whore....Hope she doesnt wanna get laid anytime soon.....![]()
Originally posted by: MS Dawn
We're not allowed to use them. :Q
DNS > hosts.*![]()
64.233.187.99 www.google.com
Originally posted by: LoKe
But seriously, if you wanted to use it properly, you could do something like...
64.233.187.99 www.google.com
So that you try to connect to the IP, rather than resolve the address. ~_~
Originally posted by: sinucus
wrong.
The HOSTS file is > "DNS" because you overrule the root servers. You explicitly declare that you want XXXXXXXX to resolve to XXX.XXX.XXX.XXX
Originally posted by: sinucus
Originally posted by: LoKe
But seriously, if you wanted to use it properly, you could do something like...
64.233.187.99 www.google.com
So that you try to connect to the IP, rather than resolve the address. ~_~
There is a slight problem with that though. Google rotates through at least 4 different server banks so that you get fresher results. About once a week or so they change IP's, or so I've seen.
