Fork of https://gitlab.com/grublets/youtube-updater-for-pi-hole
This fork has
- Looking sqlite db for youtube domains instead of log file
- Support for googlevideo.com and gvt1.com
Installation instructions are
YOUR_GEO_YT_IP="182.79.221.213"
curl -ksSL https://gist.githubusercontent.com/arulrajnet/9b78a93b72ac6fa473e18f8867e81b6d/raw/youtube.update.sh | sed "s/123.456.789.999/$YOUR_GEO_YT_IP/g" | sudo tee /usr/local/bin/youtube.update.sh
sudo chmod +x /usr/local/bin/youtube.update.sh
To run once
sudo /usr/local/bin/youtube.update.sh
To setup as cron to run every 5 min
(crontab -l 2>/dev/null; echo "*/5 * * * * sudo /usr/local/bin/youtube.update.sh 2>&1") | crontab -
Need help i have more 1 nslookup
how i use forceIP ?