last updated: Sun, 01 Mar 2015 07:39:13 GMT last validated: Fri, 27 Mar 2015 12:10:26 2446 ad server hostnames; 12556 IP addresses
main: [ about the list | how it works | four easy steps | latest news | submit hostnames | ways to use the list | lookup ]
tools: [ hosts file -> BIND converter | BIND zone file creator | miscellaneous scripts | software archive | links ]
more: [ related links | site news | list of formats | policy | RSS: updates, news | other bits and pieces | email ]
list ad server hostnames: with
only show entries added since:* view list as plain text:
* leave the date blank to list all entries. if one or more fields is set, today's date is used for any unset fields.
list ad server IP addresses: with
  view list as plain text:
latest exciting news updates LIVE from the front 
Mon, 05 May 2014 09:40:11 +0100 || Raspberry Pi distro for blocking ads
Tue, 11 Mar 2014 16:51:04 +0000 || PersonalHttpProxy
Fri, 05 Jul 2013 16:04:12 +0100 || New option: skip hostnames
Tue, 17 Jan 2012 10:31:29 +0000 || iptables format now uses REJECT
Thu, 21 Jul 2011 15:43:46 +0100 || New format: msfilter / IE9 protection list
Thu, 21 Jul 2011 13:28:49 +0100 || Information for Mac OS X users about the hosts file
→ Older news updates can be viewed on a seperate page
about this list 
Why would anyone want a list of hostnames?

The ad banners that you see all over the web are stored on servers. Stopping your computer communicating with another computer can be quite simple. So, if you have a list of the servers used for ad banners, it's easy to stop ad banners even getting to your browser.

But ad banners don't bother me

If ad banners aren't a problem for you, then these pages aren't really going to do much for you. But personally, I hate them. I've never got used to having flashing images in the corner of my vision when I'm trying to read. Imagine if real books came with neon lights that blinked messages at you over and over again. And imagine that every time you turned the page, you had to wait a few seconds whilst they changed from neon green to neon yellow. And then they'd send the title of the book, your reading speed, and what chapters you've skipped to the central Library so that they can sell the information to all the big bookstores. Reading real books would be even more unpopular than it is now! But, I guess, maybe it wouldn't - millions of people do exactly the same thing on the Interweb every day (if you substitute the book for a web site).

Why do we do it to ourselves? We need to stop this. It's time to rise up! Let us be blinked at no longer! Let the flashing cease! Down with banners! Up with transfer rates! STOP THE MADNESS!

And, Brothers and Sisters, the first step starts with YOU. Blocking ads makes sense! Start today!

Isn't this a bit much for a list of hostnames?

I started doing this a while ago, and thought I'd put my list up on the Interweb for everyone to use. That was way back in the mists of 'Net time, when the Interweb was just the Web, and dotcoms were still getting funding. Eons later, a simple list of hostnames has evolved in to what you see before you. I guess it just goes to show - even the tiniest amoebic piece of slime can become the President of the USA if you leave it alone long enough.

Why not just use JunkBuster / Adblock / some other piece of software?

There's lots of great ad blocking software out there that's probably far more effective than just using this list. But there are also disadvantages to using these pieces of software, and sometimes people are unable to use them:

  • some methods produce false positives - eg, if you were blocking all URLs containing the word "adservers", you wouldn't be able to get to this list by its usual URL ( - which, incidentally, is why you can also get to this list via
  • some methods require admin privileges - using this list as a proxy autoconfig script means that users of most browsers can use it even if they're not administrators; installing programs and editing system files can often be restricted
  • some programs don't support all operating systems or applications - eg, Adblock, a very useful tool, is only available for the Firefox browser.
But in any case, I'm not saying this list is definitely going to be useful to you. It's just here because it was easy for me to put it up, and there's been enough interest for me to keep updating things. If you're not interested, don't use it!
submit a hostname for the list 
If you know of any other lists like this, or any ad servers I don't have listed, please mail me or type the hostname in here. (you don't need to give me your email address, but it would be nice to be able to say thanks. I promise not to use it for anything bad).

Please note: although I sincerely appreciate being sent huge lists of hostnames, I don't have the time to check them for duplicates, invalid hostnames, hosts that aren't actually ad servers, etc. Submissions from the form below go into a database that allows me to easily check them and add them to the list. Please use it!

Feel free to combine this list with yours or lists from other sites and put it up on the web, though!

Also: I only add top level ad server domains. So, please don't submit hostnames like "", as "" is already listed, and please don't submit "" if "" is already listed. Unfortunately, including all subdomains would be too time consuming for me. If you find an ad server that you want added but won't be according to these criteria, the best thing to do would be to keep a personal list which you just add this one to.

Unfortunately it's probably not worth submitting anything at the moment - spam has taken over. 10,000 mails a month to sift through, even with automated checking, is just too much extra. Fuckin spammers.

Please send general stuff to or just fill out the comments form below.

Ad server submission disabled until further notice.


start blocking ads now: four easy steps 
So, to start blocking ads:
  1. find your hosts file
  2. download the list of ad servers
  3. copy the list of ad servers on the end of your hosts file (see Where's my hosts file? if you don't know where it is)
  4. restart your browser
and that should hopefully be it. Don't forget though - there are loads of other ways to use this list! Using the list as a hosts file is not the most effective, but does help.
how it works 
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.

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. is a special IP address which, to a computer, always means that computer. Any time a machine sends a network request to, 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 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 ""
  3. your computer says " 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 is listed
  5. it finds the hostname, which points to
  6. "great", says the computer, and sends off a request to 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
  Where's my hosts file?

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.

Of course, that's not the only way to use the list, but it's probably the most simple for most people.

A much more efficient way of using the list is with a nameserver. See below for details.
other ways to use this list 
  • As a Windows hosts file

    I use this list with a local nameserver, but you can also use this list with windows to block ads. to do this, download the list hosts format and put it in your C:\Windows folder (C:\WinNT\system32\drivers\etc under Windows 2000; C:\WinNT under Windows NT; C:\Windows\system32\drivers\etc under Windows XP) as a file called "hosts" (just "hosts", no .txt or anything). if you already have a file called "hosts" there, just add this list on to the end. (See above for a more detailed explanation of how this works.) NB: after updating your hosts file, it is recommended to run the command "nbtstat -R" to ensure changes are recognized by your computer (see this news update for more details).

  • As a Unix hosts file

    You can of course also just put the contents of the list in
    hosts file format in /etc/hosts, and it'll have the same effect as running a local nameserver (as long as the machine is configured to check /etc/hosts of course).

  • With Elsa/LANCOM Routers

    You can also use this list with Elsa/LANCOM routers, as described (in German) at (Lars has also been very helpful with suggesting entries for the list; thanks Lars!)

  • With Your Browser's Proxy Server Settings

    If you're behind a proxy, and your browser allows you to specify pages that don't use the proxy, then putting the entries in the list of internal sites will effectively block traffic from those sites. If your browser supports automatic configuration of its proxy settings via an external URL, you can simple set your autoconfig script to be either of these URLs to stop seeing ads:;showintro=0 (uses the ad server hostnames);showintro=0 (uses ad server IP addresses);

  • In Mozilla's Cookie Filtering

    Pinder Johal detailed in his blogzilla how to use the list to block ads with Mozilla. to do this, download the list as a cookie permission file, and put it in "C:\Documents and Settings\User\Application Data\Mozilla\Profiles\user\*.slt" (this is the directory for Windows 2000/XP users, so it will probably differ on other platforms). have a look at his site for more info.

  • With Microsoft's DNS server

    Wolfram Kraushaar has kindly provided instructions on how to use the list with Microsoft's internal DNS cache. You will need a null zone file (similar to the one provided for use with Bind 8) which he also provided: adservers.dns. This file should go in %SystemRoot%\system32\dns (so, C:\WinNT\system32\dns for most people). Then, follow these steps:

    • modify the adservers.dns file for your needs
    • stop the DNS service
    • download the list of ad servers as a system registry file and save with the extension ".reg"
    • double click the file and confirm the updates to your system registry to add the servers
    • restart the DNS service

    Wolfram also suggests: "setting up a Virtual Host on an Apache with an ErrorDocument 404 which says 'this host has been zapped'", as some browsers complain if they can't connect to hosts needed by web pages. I use Opera, which has this problem, and this is exactly what I do to get around it. If you think Apache is a bit overkill or too much effort, have a look at SimpleServer from AnalogX - as the name implies, it's easy to set up and use.

    Another way to stop your browser complaining is to point the IP addresses to a live web server instead of (although it would probably be a bit slower as the browser would try to connect to it for each ad). You can specify an alternative IP address to be used on the list ad servers when the HTML intro is included.

    Thanks Wolfram!

    These are just a few of the ways to use the list. I've tried to make the list viewable in various formats that are convenient for various other methods, and I'll add more as I come across them. If you'd like me to add some particular way of listing the hostnames of IP addresses, let me know and I'll add it.  

  • Other Nameservers

    Using the list of ad servers with a name server is one of the most efficient methods. It allows you to block entire domains, rather than just individual host by configuring your nameserver to act as master for the zone. For example, by setting your DNS server to be master for "", all requests for hostnames under "" will fail, instead of having to add entries for "", "", etc.

    Another advantage is that if you use a nameserver on a LAN, setting up a machine to block ads is as easy as changing its nameserver. There's only one machine that needs to be kept up to date, and no extra software or configuration is needed on any other machine.

    I've made a list of freeware software that you can use with this list. Again, if you know something that should be on the list but isn't, please let me know (but please, only if the product doesn't have to be paid for).

    If you're thinking about switching to using a nameserver instead of a hosts file, you might find these scripts useful:

    Please note that I've never actually tried any of these products.

    Unix BIND:
    Bind 8 NT:
    Simple DNS:
    Microsoft ISA Server:

    Also, check out the links page for more tools & resources.

    You might also want to have a look at a list of DNS servers that Microsoft recommends as working with their operating systems, or DNS Resources Directory's index of server software.

  • With the Squid Web Proxy Cache

    Squid is a proxy server commonly used in big networks to lower bandwidth usage and speed up download times. It sits between the users and the Internet so it can control network usage intelligently (unlike most browsers / OSes / anything). You can configure it to deny access to particular hostnames or IP addresses, so it's easy to set it up to block ads. I don't use it myself, but Stephen Patterson kindly sent in a script he uses with Squid to block ads. Unfortunately due to me forgetting to add the "plain text (no HTML)" option for viewing the hostnames, it's not necessary anymore, but he did give some good information on how to configure Squid. Apparently all you need to do is define an ads acl in Squid's config file that points to the file with the list of hostnames, then just set that acl to deny:

        acl ads dstdomain "/etc/squid.adservers"
        http_access deny ads
    After that all you need is to keep the list of hostnames up to date. To give you an idea of how you might do that, check out Stephen's script (slightly modified by me). Cheers Stephen!

    Note: This information was originally incorrect (it said "acl ads src" instead of "acl dstdomain src". Many thanks to Patrick Steiner emailing me to point this out.

    Update: Another way of configuring Squid might be effective at blocking ads. Instead of using the "dst" acl type (which only blocks access to a specific hostname), the "dstdom_regex" type allows you to block access to domains and all subdomains under them. The first line from the Squid configuration above would then change to:

        acl ads dstdom_regex -i "/etc/squid.adservers"
    Because of the way regular expressions work, you also have to specify the list of ad servers in a particular format to avoid potentially blocking legitimate servers as well as ad servers. To view the list in this format, just select the Squid dstdom_regex option from the select box above.
  • tools and extras
    • software/ - directory containing miscellaneous software
    • scripts/ - directory containing command line scripts listed
    • misc/ - stuff... miscellaneous stuff...
    • bind-zone-file-creator.php - form for creating a BIND zone file, with the option to convert an existing hosts file
    • hosts2bind.php (slightly confusing name, sorry) - converts hosts files into BIND config files (intended for use with ad blocking)
    • - sample BIND zone file for use with ad server zones
    • - alternative null zone file (longer timings by a factor of 10; uses IP
    news and stuff
    Old news is archived here
    # // Mon, 05 May 2014 09:40:11 +0100
    Justin Miller contacted me with some pretty cool news - he's made a Raspberry Pi distro which acts as a wifi access point that blocks ads. Pretty cool! Here's the details he sent:

    I’m releasing version super-mega-alpha- of noads, a raspberry
    pi distribution that’s designed to do nothing but provide an access
    point that provides an internet experience that is free of ads.

    Please keep in mind that this is a beta image, and uncompressed it is
    about a gig:

    If you don’t have a wifi card, this one is guaranteed to work (or at
    least works for me):

    It doesn’t matter which port you plug the wifi usb card in, it’ll go
    either way. Hook up everything but power, then power and you should in
    a few moments see an access point with the ssid “noads”. The password
    is “suchlackofads”. The ethernet cable can go into any of your LAN
    ports, assuming they’re not configured funk-ily. I’m using DHCP on the
    LAN side, so that needs to be there, which almost all wireless routers
    do by default. Feel free to update either in /etc/hostapd/hostapd.conf
    (in fact, I encourage it! though it’ll work either way).

    If you're up for testing this new beast, let me know if you experience
    any issues. It’s entirely possible that there will need to be more
    drivers supported/etc. for the wifi cards. You can log in as user root
    using the password “raspberry”. I strongly suggest changing this if
    there are clever people on your home network. The following is used
    for the adserver list:

    The image size is ~250 MB, and unpacks to 1000 MB.

    On a side note, I've been very lax about news updates that various people have been sending me. Sorry about that - I'll get to them one day!
    # // Tue, 11 Mar 2014 16:51:04 +0000
    Ingo Zenz has created an HTTP proxy that is "small and easy" and has a bunch of nice features, and uses this list to block ads and other unwanted hosts. It's called PersonalHttpProxy and is available here:

    Thanks Ingo!
    # // Fri, 05 Jul 2013 16:04:12 +0100
    I've added a new little feature to the ad list. You can now skip hostnames by using the parameter "skip". An example would be like this:[]

    or for multiple servers:[][]

    So, if you have problems with individual hostnames, update your subscription to skip whatever's causing you problems.
    # // Tue, 17 Jan 2012 10:31:29 +0000
    Just a quick update to note that the iptables format now uses REJECT instead of DROP. This is thanks to a tip from Tilman Vogel, who kindly sent me a note to say that:
    "the generated iptables script should use "-j REJECT" instead of "-j DROP" because the latter just drops the packet without notification, so the browser (or other client) will just wait for a reply until timeout. REJECT will immediately send back a "Connection refused" packet, so the browser can stop waiting."
    Thanks Tilman!
    # // Thu, 21 Jul 2011 15:43:46 +0100
    Drahnier Rasche emailed to ask whether I could add a new format for IE9's Tracking Protection list format, and helpfully pointed me in the direction of an example. Thanks to him, you can now view the list as a tracking protection list for use with IE9. Cheers Drahnier!

    Further details on this format can be found on the AdBlock Plus site.
    # // Thu, 21 Jul 2011 13:28:49 +0100
    Tina Kent has very kindly sent in some information about updating the hosts file on Mac OS X:
    I believe the Mac OS X instructions are not up to date. I cannot
    comment on editing etc/hosts in 10.0 - 10.3 because I have not done
    so, but I have edited my hosts file on 10.4, 10.5, and 10.6 without
    ever involving any of Apple's utilities.

    In 10.4 Tiger, the "BSD Configuration Files" check box does not exist
    in Directory Access. There is a "BSD Flat File and NIS" check box but
    you do not have to check the box to edit & have the system adhere to
    the updated hosts file.

    In 10.5 Leopard, Directory was changed to Directory You have to go to the Services tab within Directory
    Utility where once again you will find the "BSD Flat File and NIS"
    check box, and as in 10.4 it is not necessary to check the box to
    block the domains that you have added to etc/hosts.

    In 10.6 Snow Leopard, there is no Directory Access or Directory
    Utility in the /Applications/Utilities folder. The functionality may
    very well exist in some other app or in some other location, but again
    just editing etc/hosts seems to be all you need to do, followed by a
    reboot or enter the command

    /sudo dscacheutil -flushcache

    /in located at Applications/Utilities (this is the
    command for 10.5 and 10.6, it may be different in previous OS X

    And for those who are intimidated by command line text editors it can
    also be done in TextWrangler (preferred because it is plain text only,
    free, asks before unlocking the file and requires Admin authorization
    to save the changed file.
    Thanks very much for this detailed information, Tina.