Forums

toastyduck
toastyduck
Offline
Resolved
0 votes
Hi everyone,

I'm looking for a bit of advice/help from the community. I ran across an awesome little project called pi-hole which can be located at https://pi-hole.net/ The issue that I'm running in to, is that pi-hole will work perfectly for about 24 hours after the initial install. Then suddenly the pi is unable to access the internet. Heck, it is also unable to ping any device on my LAN either, even though I'm able to ssh into the box. So my question regarding ClearOS, is I know that we can change which DNS server we use on the Network > IP Settings page. I do this and it works great for the 24 hours. I know that ClearOS also includes a DNS server, is there anything that I need to do to the ClearOS box to get this to work correctly. I know that you're unable to have 2 DHCP servers on the same LAN, I'm guessing that having multiple DNS servers on the LAN is causing this issue. Any help with this would be amazing, as the support forums for pi-hole seem to be overrun by Linux trolls that are unwilling to help.

Thank you
Wednesday, June 20 2018, 08:06 PM
Share this post:
Responses (3)
  • Accepted Answer

    Thursday, June 21 2018, 08:53 PM - #Permalink
    Resolved
    -1 votes
    The problem I had with a LAN-wide blocker is it relies on others filters and there is no easy tool to do an immediate unblock without teaching everyone in the family to be a sysadmin.

    I've been trying out the ClearOS Gateway Management product which can also block ads. I use another website, topcashback.co.uk, to get money back on purchases. This relies on referrer and tracking cookies which Gateway management was blocking.
    The reply is currently minimized Show
  • Accepted Answer

    toastyduck
    toastyduck
    Offline
    Thursday, June 21 2018, 08:41 PM - #Permalink
    Resolved
    0 votes
    Hey Nick, than you for the reply. You're correct I'm opting for option #2 with the setup. I just reinstalled raspbian again and we will see how things work this time. Hopefully things work for more than just 24/48 hours, as pi-hole is truly amazing.Gotta love a LAN wide ad blocker.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 20 2018, 08:30 PM - #Permalink
    Resolved
    -1 votes
    How are you configuring your DNS servers? I am not familiar with the details of pi-hole's operation. Presumably you need to set pi-hole's upstream resolvers somewhere. Perhaps an approach is to make sure pi-hole is on a fixed IP on the ClearOS LAN and disable its DHCP server. In the ClearOS DHCP server configure the DNS server as the pi-hole IP. In pi-hole, configure the ClearOS LAN as its upstream DNS server.

    Your approach seems to be the other way round and it should be able to work. You can configure the ClearOS DHCP server to hand out its own LAN IP as the DNS server, then in the IP settings, set the DNS server to the pi-hole IP. The pi-hole then needs to be configured with an external DNS server or two. It cannot use ClearOS as its DNS server or you have a DNS loop. Again, pi-hole must be on a fixed IP with its DHCP server disabled.

    In the first set up you can create a firewall rule which forces people to use pi-hole and will block any attempts to bypass it. in the second set up there is no way of bypassing it anyway.
    The reply is currently minimized Show
Your Reply