Free Public Pi-hole

Pi-hole is Network-Wide Ad Blocker that blocks ads of all sorts at the router level. It blocks advertisements on any device and improves overall network performance. For more information, watch this short video below.

For those of you who don’t own a Raspberry Pi, I’ve setup two internet facing Pi-hole servers. Both are running from a Virtual Private Server (VPS) in a datacenter, so no worries about latency or bandwidth issues. The exact details are as follows

Primary Pi-hole/DNS-server:

Secondary Pi-hole/DNS-server:

General Information & Settings:

Disclaimer:

  • The Public Pi-holes are operated by me, Freek. I hold internet security, net neutrality and privacy in high regard. This is why I’m providing this service.
  • Although being completely free, you are not ‘the product’; your data will never be shared or sold to third parties.
  • This service is provided without any warranty and I renounce liability for any claim, damages or other liability arising from the use of this service.

Follow these steps to get started: https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245

Comments or suggestions? Let me know in the comments :)

48 thoughts on “Free Public Pi-hole

  1. Hi, can you suggest me on how to securing public pi-hole? May be some iptables rules to prevent DNS amplification or anything else. Thank you!

  2. Thank you so much for this.

    I came across Pi-hole earlier and installed it on my laptop running Ubuntu 16.04 LTS. However, I quickly realized that my laptop acts as a server so once it’s shut down, the devices using the DNS server are unable to connect to the internet.

    I tried looking for a solution, tried AdGuard but it’s not as good as Pi-hole, wanted to get a VPS of my own but it’s expensive, then finally found your site. I couldn’t thank you enough!

    Please don’t ever close this service hehe. Or if you will, please notify us (the users) in a way. :P Thanks again!

    1. Thanks for the comment ! I have no plans shutting it down any time soon. If anything changes, I’ll announce it on my blog :) Enjoy!

      1. Hi there,

        Sorry for my ultra delayed reply.

        I’ve looked at the Energized filter lists before, but I’m afraid it’s a bit too restrictive for daily usage and therefore might break a lot of websites. The audience of my Pi-hole’s is quite broad, which is why I focus on more general lists, such as the ticketed lists from Wally3k. I’ve also looked at the ‘Ultimate Host Blacklist’ and ‘Block List Project’, but their lists contain many false positives, e.g. ikea.com, debenhams.com and logmein.com, which are all perfectly legitimate websites.

        Kind regards,

        Freek

    1. Before you setup a Public Pi-hole, please check with your internet service provider or hosting company if they allow a recursive DNS server on their network… because most will not allow it. This is because public DNS servers are prone to DNS amplification attacks (see my other blog post here: https://freek.ws/2017/03/18/blocking-dns-amplification-attacks-using-iptables/ ). Unless you put some mitigation in place, your Pi-hole will become part of such an attack within days after setting up. If you really want to proceed, here’s a quick and dirty wirteup on how to prepare your server: https://pastebin.com/SvFEssuL . Afterwards, just run the Pi-hole installer as you normally would on your Raspberry Pi :) Good luck!

    1. Done, alternativeto.net should now be whitelisted.
      Thank you, I’ll take a look! I’m also in the process of updating the Pi-hole to the latest version, but this needs some further testing. In the latest version, the Pi-hole team built-in native SSL support for the webinterface, something I built-in myself in the previous versions. Before updating, I need to know if the installation doesn’t create any conflicts with the lighttpd config.

    1. Hi! The service is still running yes. I tried to fix the graphs and stats yesterday, but there seems to be some issue with lighttpd. Due to the holidays, I won’t be able to fix it anymore before Christmas but the DNS resolution still works :) Kind regards.

  3. I have configured my ddwrt routers dnsmasq to use your pi-hole server.
    Is it normal that Youtube in-video ads still display?

    1. Thanks for your comment. YouTube ads are really hard to block. I found that pi-hole blocks the ads during the video (which are the most annoying ones anyway) but the initial advert is not blocked. Packet captures have shown the initial advert is served from youtube.com so I can’t block that anyway.

  4. Hi very god idea your pi-hole server for the internet but actually the dns server is not running. I have the same problem with my pi-hole raspi. Eventually you must update the os?

    1. My Public Pi-hole is back (up)…. And it’s stronger than ever!

      I’ve setup a secondary node in the UK for redundancy, as well as adding 7 new ad-lists and a status page to communicate with you guys about outages and scheduled maintenance. For more information, please visit: https://freek.ws/public-pi-hole/

      Thank you for your continued support. Enjoy!

  5. Thank you for making avaliable this service.

    I wish to let you know that the Twitter page is not displaying corretly any image when I point my system to your Pihole setup. I think It’s just the case to put it on the whitelist.

    Everything else is OK and fast, thanks.

    1. Hi Robson.

      Thanks for your feedback!

      I have made a small adjustment to the whitelist, could you please try again and check if the images on Twitter load correctly now? If not, please send me an example link so that I can check it out.

      Thanks!

      1. Hello,

        I just made some tests on twitter and now everything is OK there, all imagens loading correctly.

        Thanks!

    1. Hi!

      Thanks for your message.

      I’m using DNS.watch DNS servers. For more information, checkout https://dns.watch .

      I am also using anti-malware filtering lists in my Pi-hole. I like full control of the DNS queries, so I’d rather filter them myself instead of having a third party pre-filter them already. Saves a lot of headache while debugging some resolver issues :)

      Kind regards

  6. Would it be useful to enable Privoxy, in addition to using your Pi-Hole DNS, at the router level?

    1. I think it might be a bit of overkill, since the blacklists I use also contain hostnames to block tracking etc, but you are free to use it of course. Let me know the results!

  7. Thank you so much for this!
    I am trying to use your public pihole server. It’s wonderful!
    Actually, i try to deploy the pihole in google cloud platform. I am running VMs and install pihole without problems.
    The public ip addr is: 35.237.126.206
    Default gateway: 10.142.0.1/24

    But the problem is that i couldn’t use my pihole as a DNS server and stuck from that point!
    I run the pihole -d:
    ==============
    [?] IPv4 address(es) bound to the eth0 interface:
    10.142.0.2/32 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6
    -ula-addresses-for-pi-hole/2127)
    35.237.126.206/32 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-
    ipv6-ula-addresses-for-pi-hole/2127)
    [?] IPv6 address(es) bound to the eth0 interface:
    fe80::4001:aff:fe8e:2 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/
    use-ipv6-ula-addresses-for-pi-hole/2127)
    ^ Please note that you may have more than one IP address listed.
    As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for conce
    rn.
    The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check fo
    r it.
    [i] Default IPv4 gateway: 10.142.0.1
    * Pinging 10.142.0.1…
    [?] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
    =================

  8. Hey, how do you go about enabling SSL as I see you did? I’ve tried and I got it working but I wasn’t getting a block page. Do you have a sample of your lighttpd config files or a tutorial on how to do it? My pihole is at 35.188.83.81 in U.S.A, Iowa, Google Cloud and plans are to be public. It is 3:16 P.M. here in Minnesota.

  9. Freek, how do I enable SSL on the admin interface? Thanks!

    Here is my current Public Pi-hole Service for the USA and as a backup to Freek’s users if his goes down, as I check the status of mine every day, and get alerts if they go down.

    DNS A: 35.188.83.81
    WEB: http://dns-a.jpits.us/admin/
    Location: Iowa, USA

    DNS B: 35.188.66.94
    WEB: http://dns-b.jpits.us/admin/
    Location: Iowa, USA

    DNS C: NOT AVAILABLE
    WEB: http://dns-c.jpits.us
    Location (Planned): Frankfurt
    GDPR Compliant as

    All Pi-holes have Google SafeSearch enabled, as well as OpenDNS blocking adult content on the Low setting. YouTube ad-blocking is experimental and it may be slow at times. Leave feedback at my email: jaykepeters at gmail.com, I am still working on my website and there is NO Help Desk at https://support.jpits.us, but will be available soon…

    All of this is hosted on Google Cloud Platform for the Public.

      1. Update: Server B has been suspended. Also, if you are having issues or need a domain whitelisted, please contact me at jaykepeters at gmail dot com. I will be more than willing to fix the problem.

        I’m going to move it over to DigitalOcean or some other provider eventually, in the meantime rest assured that Google cannot access the VPS server’s contents as part of their privacy policy.

        **************************************************************
        Please email me if you want to be notified of the transition to DigitalOcean.
        **************************************************************

        *******
        For Future Updates and all communication therefore will be available at:
        https://github.com/jaykepeters/Pihole-Cloud
        Thanks!
        *******

        You can access the pi-hole at https://pi-hole.jpits.us/admin

  10. Hi there ?

    I was using these DNS servers and until yesterday were working fine. Today I got ads.

    I configured my Linux client:

    “`
    ? ~ cat /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 185.147.34.122
    nameserver 185.187.240.11
    “`

    Also cleared Chrome cache at chrome://net-internals/#dns

    This page reports that AD blocking is not working ? https://blockads.fivefilters.org/?pihole

    Any idea?

    1. Sorry for my delayed reply.

      Are you still encountering issues? Currently there are no issues known on my end.

      Thanks!

  11. So I’ve entered 185.147.34.122 as dns on my smart tv
    It seems that adds are bloked but not scripts. So if i click on some site on my tv it still opens pages. They don’t load and give an error but it’s kind of annoying. It this the way it’s supposed to be or am i doing something wrong?

    1. Hi there,
      Could you please elaborate a bit more to which scripts you are referring to?
      If you’re referring to, for example, popup ads; the script invoking the popup itself won’t be blocked, but the website the popup is trying to display will be blocked and show up as a blank page or ‘connection timeout/refused’ (depending on how smart your TV is).
      Kind regards,
      Freek

      1. Yes, about those scripts i was talikin.
        The annoying thing is i can’t set my tv browser to not switch to the newly open page so i have to close or switch through all of them to return to my page.
        Some ads still load but i think it’s because they are regional ads and they are not an the ad blocking list

        Anyway tv browser runs smooth now as no ads are loaded anymore.
        Before using your public pihole,tv crashed most of the time from ads and popups

        Thanks for your reply.

      2. It could very well be that these are regional/country specific ads that are not on the big ‘general’/universal ad blocking lists. I’ll add looking into country specific EasyList adblock lists to my to-do list, but it will take a while before I have time to do so.
        Currently my top priority is to migrate both Pi-holes to Docker images so I can automate the update process using Watchtower and fix the SSL issue on the NL node.
        Thanks for your feedback!

  12. Hi,

    I’m not to literate on DNS, but I have used your servers for a few months now and all has worked well.
    However, a few days ago a problem started with the BBC News Homepage. I’m in the UK and and used to get the UK New Hompage, but now I get the North American one. By changing back to my ISP DNS all is well, but when switching back again I get the American one once more.

    Any ideas what Is wrong?

    Thanks

  13. Hey Freek,

    Have you ever think to change the DNS resolvers to Cloudflare or Quad9? I think they are faster than DNS Watch and also offer DNSSEC.

    Btw, stats for the NL Pi-hole not working anymore and the memory usage for the UK one is currently 81.4%. It is also asking for a update (current version 4.0 vs new version for 4.2.3).

    Regards and thanks for you amazing work!

  14. Hello, maybe very stupid question. Can i enter this Public PI-hole IPv4: 185.147.34.122
    adress as a static DNS adress in my router ? Or is this just for the client (pc) side possible ?

    1. You can do it for Wi-Fi connections only. For data connections, you need to set up a VPN.

      1. What do you mean??? The new feature from android pie “Privé DNS” is only for the wifi connections?? :(

  15. Hi, can you please add dns provider Host name to your post. It’ll be helpful for mobile device users running Android 9 or later. As we can’t always modify the router but we can add this to our phone and start blocking ads in our device.
    Thank you for your time and consideration.

Leave a Reply

Your email address will not be published. Required fields are marked *