pihole

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pihole [2021/03/24 16:52]
Stephane de Labrusse
pihole [2022/02/15 19:30]
Stephane de Labrusse
Line 8: Line 8:
 Pi-hole has the ability to block traditional website advertisements as well as advertisements in unconventional places, such as smart TVs and mobile operating system advertisements. Pi-hole has the ability to block traditional website advertisements as well as advertisements in unconventional places, such as smart TVs and mobile operating system advertisements.
  
-nethserver-pihole relie on nethserver-docker, you will run a docker container either on the ''aeria'' network (experimental) or on the ''macvlan'' network (Recommended). Saying that the pihole container will have an IP on your network, you will just have to set in the DHCP server of your network that the DNS server is the IP of pihole+nethserver-pihole relie on nethserver-docker, you will run a docker container either on the ''aeria'' network (experimental) on the ''macvlan'' network or on the ''aqua'' network (Recommended). You will just have to set in the DHCP server of your network that the DNS server is the IP of pihole (for ''aeria'' and ''macvlan'' network) or the NethServer (for ''aqua'' network)
  
 ====Maintainer==== ====Maintainer====
Line 30: Line 30:
 </WRAP> </WRAP>
  
-  * Go to the cockpit dashboard, set the IP of the DNS server to the IP ''172.28.45.1'' (default of the pihole container+  * We have to set the network of the pihole container, do: 
-  * Once done we have to create the container on the server, do: +
  
 <file> <file>
-config setprop  docker piholeNetwork aqua+config setprop pihole piholeNetwork aqua
 </file> </file>
-  * Then use NethServer as the DNS server of your network (by adding it manually in each host or by DHCP) 
  
 go to create the container, please jump to the next [[pihole#create_the_container|chapter]]  go to create the container, please jump to the next [[pihole#create_the_container|chapter]] 
 +
 +Once the container is up
 +  * Go to the cockpit dashboard, set the IP of the primary DNS server to the IP ''172.28.45.1'' (default of the pihole container). Alternatively you can set also a second dns server if needed ''172.28.45.1,8.8.8.8'' (for example)
 +  * Then use NethServer as the DNS server of your network (by adding it manually in each host or by DHCP)
 +
  
 ===Macvlan=== ===Macvlan===
Line 112: Line 115:
  
 <file> <file>
-config setprop docker password azertyuiop+config setprop pihole password azertyuiop
 </file> </file>