update PiHole (inside VM on Freenas)
December 12, 2018
Posted by on
The PiHole need some updates , from time to time, so is best to setup a cron job to do them automatically. The Pihole updates cannot, at this time , be made form Web interface. In my case Pihole runs inside a VM (ubuntu server) , inside Freenas.
So you need to enter the VM shell , inside your Freenas machine. Open Freenas web interface, then go to VMs –> Pihole –> VNC via web .
Then at the new terminal , after login, you need to sudo a crontab:
sudo crontab -e
Then in crontab editor write this :
5 1 * * * pihole -g -up
15 1 * * * pihole -up
This means that at 1:05am every day the pihole list of ad-serving domains is updated. Then at 1:15am the pihole is updated.
If you want to see the pihole status in real time then use