Setting up Pi-hole

Thanks guys regarding the 2-in-1 Pi-Hole and VPN.

Another question - should be an easier one :) I have set Crontab (task scheduler) to update Pi-Hole every day at 0700. Shall I use all 3 lines or just the 1st one? 1st line is to update Pi-Hole at 0700, 2nd line is to update the ads definition file at 0710 then restart the DNS server at 0720. I'm just not sure whether pihole -up includes the ad definitions as well or not.

yj9JM5w.png
 
I'd be a little wary of doing -up in that way, there was a release not that long ago that set a password on the web interface and if it wasn't for me seeing the output of -up on the console I wouldn't have known and would have had problems logging into the web interface until I found how to change, or remove the password.

I do schedule an update of the block lists but rather than doing two separate comments through crontab which would potentially leave you without DNS for up to 10 minutes I have both commands in the same script so they fire one after the other without a gap.

Code:
#/bin/sh
/usr/local/bin/pihole -g
/usr/local/bin/pihole restartdns

That script is called /root/pihole_update.sh and that's called at 4am by crontab.

Code:
0  4    * * *   root    /root/pihole_update.sh
 
It effectively does a pinhole -g itself on a regular basis. I don't bother with any of the above although as said previously, I do have an alert via PRTG to tell me if there's an update available so I can go and grab it manually.

I don't think there's any need to manually restart the dns service either, -g does that at the end of the process.
 
As per others, I'd advise to not have the pihole -up set on crontab.

I had got it set to go once a week on my second box but that thing had it's own problems.

If you feel you MUST have an update run periodically then simply pihole -g is enough to run daily.
 
Think i've got most Domains covered :D

Untitled-1111.jpg
 
Wow it is just me or are you blocking ~1.4 million more domains that a standard install? Where have you garnered these extra domains from?
 
Seems this new link is quite aggressive in what it includes. You'll probably all shout at me but I use feedly for my RSS feeds, which it blocked, and it seems to have killed Skype. There is no way I could get everyone to move away and use something else andadly I've not been able to workout which domains to whitelist to get Skype working. Don't suppose anyone knows?
 
Seems this new link is quite aggressive in what it includes. You'll probably all shout at me but I use feedly for my RSS feeds, which it blocked, and it seems to have killed Skype. There is no way I could get everyone to move away and use something else andadly I've not been able to workout which domains to whitelist to get Skype working. Don't suppose anyone knows?

Try whitelisting s.gateway.messenger.live.com ui.skype.com pricelist.skype.com apps.skype.com m.hotmail.com s.gateway.messenger.live.com sa.symcb.com s{1..5}.symcb.com
 
Far to aggressive for me, I tried adding some additional blacklists a while back and many useful sites were blocked. I've gone back to the original Pi-hole supplied lists now and that's enough.
 
Try whitelisting s.gateway.messenger.live.com ui.skype.com pricelist.skype.com apps.skype.com m.hotmail.com s.gateway.messenger.live.com sa.symcb.com s{1..5}.symcb.com
Thanks for these, it helps but it's not the whole list, also added

arc.msn.com channel.skype.com conn.skype.com crl.microsoft.com live.com login.live.com mscrl.microsoft.com settings-win.data.microsoft.com ssw.live.com

Far to aggressive for me, I tried adding some additional blacklists a while back and many useful sites were blocked. I've gone back to the original Pi-hole supplied lists now and that's enough.
I'm close to following. It takes quite a long time for each domain to be whitelisted and then it doesn't always fix what you're trying to resolve, so a slow old process.
 
Back
Top Bottom