Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: brianr on August 28, 2018, 11:22:39 AM

Title: pi-hole
Post by: brianr on August 28, 2018, 11:22:39 AM
Anyone tried this with SMEServer?

Am thinking of trying it by running it in a container "next" to the SMEServer VM.

https://pi-hole.net
Title: Re: pi-hole
Post by: ReetP on August 28, 2018, 11:56:39 PM
I did mention in another post that it was interesting.

I'm not sure how easy it would be to integrate directly on SME. Probably possible but not simple (I think it uses DNSmasq ??)

A better idea may be as you suggest. Run it as a separate VM, or possible a docker instance on SME.

I'd play but I'm already overwhelmed with stuff...... !! If I get a minute I may try to spin up an instance.

Title: Re: pi-hole
Post by: TerryF on August 29, 2018, 12:52:26 AM
A better idea may be as you suggest. Run it as a separate VM, or possible a docker instance on SME.

Would our 9.2 VM with docker samba4 be able to play with this, or would I need to config another one.
Title: Re: pi-hole
Post by: ReetP on August 29, 2018, 09:42:46 AM
Would our 9.2 VM with docker samba4 be able to play with this, or would I need to config another one.

Yup. You can pull multiple containers with docker. I'll do you a compose template later

Title: Re: pi-hole
Post by: brianr on August 29, 2018, 02:28:06 PM
ok, so I've fired up a Centos7 container on my ProxMox system and installed pi-hole.

I then plugged the IP address of the Pi-hole container into the external DNS slot in the console configuration dialog and re-booted the SMEServer.

Seems to be working fine - I can see adverts being supressed (on the Guardian website on my phone for example). Locally resolved URL's seem to be dealt with by the SMEServer in the usual way.

I'll run with it and report back if anything unexpected happens.

Title: Re: pi-hole
Post by: ReetP on August 29, 2018, 03:50:11 PM
Class !!

Wondering about running it in docker on the same server? Any thoughts?