Koozali.org: home of the SME Server

pi-hole

Offline brianr

  • *
  • 988
  • +2/-0
pi-hole
« 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
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: pi-hole
« Reply #1 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.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: pi-hole
« Reply #2 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.
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: pi-hole
« Reply #3 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

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline brianr

  • *
  • 988
  • +2/-0
Re: pi-hole
« Reply #4 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.

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: pi-hole
« Reply #5 on: August 29, 2018, 03:50:11 PM »
Class !!

Wondering about running it in docker on the same server? Any thoughts?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation