User Tools

Site Tools


servers:pi-hole

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
servers:pi-hole [2018/05/28 18:42] – [NETGEAR R6260] Sean Rhoneservers:pi-hole [2019/10/17 04:42] – [WaLLy3K] Sean Rhone
Line 18: Line 18:
  
   pihole admin password   pihole admin password
- 
-====== FTLDNS Beta ====== 
- 
-  * https://pi-hole.net/2018/03/24/help-us-beta-test-ftldns/ 
- 
-  echo 'FTLDNS' | sudo tee '/etc/pihole/ftlbranch' > '/dev/null' && pihole checkout core 'FTLDNS' && pihole checkout web 'FTLDNS' && sync 
- 
-====== Null Blocking ====== 
- 
-  * https://pi-hole.net/2018/05/18/nxdomain-and-null-blocking-with-ftldns/ 
- 
-  echo 'BLOCKINGMODE=NULL' | sudo tee '/etc/pihole/pihole-FTL.conf' > '/dev/null' && sudo systemctl restart 'pihole-FTL' 
- 
-===== Revert ===== 
- 
-  * ''master'' branch is the default branch 
-  * ''/etc/pihole/ftlbranch'' and ''/etc/pihole/pihole-FTL.conf'' don't normally exist without the above 
- 
-  sudo rm -f '/etc/pihole/ftlbranch' '/etc/pihole/pihole-FTL.conf' && pihole checkout 'master' 
  
 ====== Adlist ====== ====== Adlist ======
Line 43: Line 24:
  
   * https://wally3k.github.io   * https://wally3k.github.io
 +  * https://v.firebog.net/hosts/lists.php
 +
 +  * :!: Change ''all'' in ''type=all'' with either ''tick'' or ''nocross'' if less-aggressive blocking is wanted ((see [[https://v.firebog.net/hosts/lists.php|lists]]))
  
   sudo wget -O '/etc/pihole/adlists.list' 'https://v.firebog.net/hosts/lists.php?type=all' && pihole updateGravity   sudo wget -O '/etc/pihole/adlists.list' 'https://v.firebog.net/hosts/lists.php?type=all' && pihole updateGravity
Line 53: Line 37:
  
   echo 'telemetry-in.battle.net' | sudo tee --append '/etc/pihole/blacklist.txt' > '/dev/null'   echo 'telemetry-in.battle.net' | sudo tee --append '/etc/pihole/blacklist.txt' > '/dev/null'
- 
-===== NETGEAR R6260 ===== 
- 
-  * Not sure what this is, but I don't like my router querying it at regular intervals... 
- 
-  echo -e 'registration.ngxcld.com\niqi.labs.att.com' | sudo tee --append '/etc/pihole/blacklist.txt' > '/dev/null' 
  
 ====== Whitelist ====== ====== Whitelist ======
Line 70: Line 48:
   sudo -e '/etc/systemd/system/pihole-up.service'   sudo -e '/etc/systemd/system/pihole-up.service'
  
-  [Service] +<code> 
-  Type=oneshot +[Service] 
-  Group=pihole +Type=oneshot 
-  ExecStart=/usr/local/bin/pihole updateGravity +Group=pihole 
-  ExecStart=/usr/local/bin/pihole updatePihole +ExecStartPre=/usr/bin/wget -O '/etc/pihole/adlists.list' 'https://v.firebog.net/hosts/lists.php?type=all' 
-  ExecStartPost=/bin/sync+ExecStart=/usr/local/bin/pihole updateGravity 
 +ExecStart=/usr/local/bin/pihole updatePihole 
 +ExecStart=/usr/local/bin/pihole flush 
 +ExecStart=/usr/local/bin/pihole restartdns 
 +ExecStartPost=/bin/sync</code>
  
 ===== Timer ===== ===== Timer =====
Line 81: Line 63:
   sudo -e '/etc/systemd/system/pihole-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'pihole-up.timer' && sudo systemctl start 'pihole-up.timer' 'pihole-up' && sudo systemctl status 'pihole-up' -l   sudo -e '/etc/systemd/system/pihole-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'pihole-up.timer' && sudo systemctl start 'pihole-up.timer' 'pihole-up' && sudo systemctl status 'pihole-up' -l
  
-  [Unit] +<code> 
-  Description=Pi-hole Updater +[Unit] 
-  After=network-online.target +Description=Pi-hole Updater 
-  Wants=network-online.target +After=network-online.target 
-   +Wants=network-online.target
-  [Timer] +
-  OnCalendar=weekly +
-  Persistent=true +
-   +
-  [Install] +
-  WantedBy=timers.target+
  
-====== Test ======+[Timer] 
 +OnCalendar=weekly 
 +Persistent=true
  
-  * https://pi-hole.net/pages-to-test-ad-blocking-performance/+[Install] 
 +WantedBy=timers.target</code>
  
 ====== Addresses ====== ====== Addresses ======
Line 103: Line 82:
 **** ****
  
-  192.168.1.158+  192.168.1.155
  
 ===== IPv6 ===== ===== IPv6 =====
Line 109: Line 88:
 **** ****
  
-  2601:545:4501:980a:6a7d:f541:fba0:ab41+  fd85:801b:aa06:0:4c01:694b:3c15:9ab5
  
 ===== Admin Console ===== ===== Admin Console =====
  
-  * http://192.168.1.158/admin/index.php+  * http://192.168.1.155/admin
/var/www/wiki/data/pages/servers/pi-hole.txt · Last modified: 2019/10/17 04:42 by Sean Rhone