Results 1 to 4 of 4

Thread: Block Adservers on windows

  1. #1
    Join Date
    Dec 2008
    Posts
    33

    Block Adservers on windows

    i am using windows xp but when i online it always shows ad and that irritating lot continue to slow my access,why this adding to my computer and how they work? i want to remove those nasty ads from the pages which waste lot of time and bandwidth so please tell me the way to remove this thank you .

  2. #2
    Join Date
    Feb 2008
    Posts
    2,635

    Re: Block Adservers on windows

    It's possible to set up a name server as authoritative for any domain you choose, allowing you to specify the DNS records for that domain. You can also configure most computers to be sort of mini-nameservers for themselves, so that they check their own DNS records before asking a nameserver. Either way, you get to say what hostname points to what IP address. If you haven't guessed already, the way you block ads it to provide bogus information about the domains we don't want to see - ie, all those servers out there that dedicate their existence to spewing out banner ads.

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Block Adservers on windows

    The hosts file

    Probably the most common way people block ads like this is with something called the "hosts file". The hosts file is a simple list of hostnames and their corresponding IP addresses, which your computer looks at every time you try and contact a previously unknown hostname. If it finds an entry for the computer you're trying to reach, it sets the IP address for that computer to be whatever's in the hosts file.

    127.0.0.1 is a special IP address which, to a computer, always means that computer. Any time a machine sends a network request to 127.0.0.1, it is talking to itself. This is very useful when it comes to blocking ads, because all we have to do is specify the IP address of any ad server to be 127.0.0.1. And to do that, all we have to do is edit the hosts file. What will happen then is something like this:

    1. you visit a web page
    2. the web page contains a banner ad stored on the server "ads.example.com"
    3. your computer says "ads.example.com? never heard of it. wait a second, let's see if I've got the number on me..."
    4. your computer finds its hosts file and checks to see if ads.example.com is listed
    5. it finds the hostname, which points to 127.0.0.1
    6. "great", says the computer, and sends off a request to 127.0.0.1 for the banner ad that's supposed to be on the page
    7. "oh", says the computer, and fails to show anything because it just sent a request to itself for a banner ad

  4. #4
    Join Date
    May 2008
    Posts
    2,945

    Re: Block Adservers on windows

    location for hosts
    * Windows 95 / 98 / ME: C:\Windows (I think)
    * Windows NT: C:\WinNT\hosts
    * Windows 2000: C:\WinNT\system32\drivers\etc\
    * Windows XP: C:\Windows\System32\drivers\etc
    * FreeBSD / Linux / Mac OS X / Unixish operating systems: /etc/hosts
    * Classic Mac OS: please read this helpful information submitted by David "iNerd" B
    * Mac OS 9: Marcia Skidmore sent in details that hopefully explain what you need to know

    The format of the hosts file is very simple - IP address, whitespace, then a list of hostnames (except for older Macs; please see above). However, you don't need to know anything about the format if you don't want to as you can just view the list hosts file.

Similar Threads

  1. Replies: 6
    Last Post: 30-04-2012, 12:30 PM
  2. Block downloads in HP Pavilion g4 With Windows 7
    By Genna in forum Operating Systems
    Replies: 3
    Last Post: 01-06-2011, 11:19 AM
  3. Block UAC alerts in Windows 7
    By Abhibhava in forum Operating Systems
    Replies: 3
    Last Post: 21-10-2009, 06:21 PM
  4. How to block Windows Update KB960715
    By Chirvan in forum Windows Update
    Replies: 4
    Last Post: 17-02-2009, 04:40 AM
  5. Block Windows Games
    By GhostRider in forum Windows Software
    Replies: 3
    Last Post: 05-02-2009, 03:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,729,783.41943 seconds with 16 queries