The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
The problem with using a hosts file on the local box is that it only works for that box. I have 12 computers/devices to manage at home, and I don't want to run a marathon to update the hosts file all the time. The pi-hole device is a centralized spot for doing it.
If you want to use a single raspberry pi, you could set up a pi-hole on the pi, and then create a virt8ual machine on the same pi and install pi-hole in that VM. Of course, that's kinda stupid because it defeats the high-availability characteristic of having a separate secondary server that will kick in when the primary goes sideways on you.
On the other hand, you can simply use the primary IP of the DNS server that pi-hole was using as your secondary DNS, but that won't filter ads, and that's the reason I just got anther pi to serve as secondary.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
I'm the one who suggested Pi-hole to you a week or two ago--nice follow-up.
All I can add at this point is that I'm not as sophisticated a network admin as you are. You're right about a secondary DNS--if the Pi-hole machine goes down (a VM in my case)--like the power going out--and I forget to power the host back on, ads will still manage to sneak in until I remember to power the VM back up.
Other than that--it certainly suits my needs well enough I can say that for me, it's the closest "set and forget" piece of software I've used in a while.
The grue is a sinister, lurking presence in the dark places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Often found in QA.
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
I do it with everything even after all these years in IT I still overcomplicate things when programming - not for tech sake but because it takes me a long time to see the woods from the trees - then comes the lightbulb moment
We can’t stop here, this is bat country - Hunter S Thompson RIP
WSell, I just got back from the anual Society of Petroleum Engineer's Convention in Dallasa, Tx. It was interesting in that I ran across a few Professors, who told me that my PhD Committee had met and decided that they'll make sure I graduate this semester. So that's gopod news, finally. I finished the research and writing 4 yearts ago, just still need to schedulre my defense. That should happen in the next few weeks!
CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
Last Visit: 12-Dec-19 6:18 Last Update: 12-Dec-19 6:18