mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-11 03:15:09 +00:00
5367a1751a
* Update pihole-install.sh * Added the option to configure Unbound as a forwarding DNS server (using DNS-over-TLS (DoT)). * Simplified the Unbound configuration. The root hints file is actually provided by the dns-root-data package so there is no need to explicitly define it (via the root-hints configuration directive) and wget it. Also, there was no mechanism to update the file after the initial fetch - this will now done by the package manager. * Fix: Unbound (127.0.0.1#5335) would not become active until a configuration change was made and saved or the application was updated. These are the only times (other than during install) that /etc/dnsmasq.d/01-pihole.conf is synced with /etc/pihole/setupVars.conf. Updated the install script to swap out the dns server in /etc/dnsmasq.d/01-pihole.conf similar to /etc/pihole/setupVars.conf. Delete 8.8.4.4 in both files as opposed to commenting it out as the commented out line would never be recycled. * Update pihole.json * Update install/pihole-install.sh Updated the prompt text after code review. Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --------- Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
48 lines
2.2 KiB
JSON
48 lines
2.2 KiB
JSON
{
|
|
"name": "Pi-Hole",
|
|
"slug": "pihole",
|
|
"categories": [
|
|
13
|
|
],
|
|
"date_created": "2024-04-28",
|
|
"type": "ct",
|
|
"updateable": true,
|
|
"privileged": false,
|
|
"interface_port": "81",
|
|
"documentation": "https://docs.pi-hole.net/",
|
|
"website": "https://pi-hole.net/",
|
|
"logo": "https://raw.githubusercontent.com/home-assistant/brands/master/core_integrations/pi_hole/icon%402x.png",
|
|
"description": "Pi-hole is a free, open-source network-level advertisement and Internet tracker blocking application. It runs on a Raspberry Pi or other Linux-based systems and acts as a DNS sinkhole, blocking unwanted traffic before it reaches a user's device. Pi-hole can also function as a DHCP server, providing IP addresses and other network configuration information to devices on a network. The software is highly configurable and supports a wide range of customizations, such as allowing or blocking specific domains, setting up blocklists and whitelists, and customizing the appearance of the web-based interface. The main purpose of Pi-hole is to protect users' privacy and security by blocking unwanted and potentially malicious content, such as ads, trackers, and malware. It is designed to be easy to set up and use, and can be configured through a web-based interface or through a terminal-based command-line interface.",
|
|
"install_methods": [
|
|
{
|
|
"type": "default",
|
|
"script": "ct/pihole.sh",
|
|
"resources": {
|
|
"cpu": "1",
|
|
"ram": "512",
|
|
"hdd": "2",
|
|
"os": "debian",
|
|
"version": "12"
|
|
}
|
|
}
|
|
],
|
|
"default_credentials": {
|
|
"username": null,
|
|
"password": null
|
|
},
|
|
"notes": [
|
|
{
|
|
"text": "To set your password, log in to the container, and type the following: `pihole -a -p`",
|
|
"type": "warning"
|
|
},
|
|
{
|
|
"text": "With an option to add Unbound",
|
|
"type": "info"
|
|
},
|
|
{
|
|
"text": "With an option to configure Unbound as a forwarding DNS server (using DNS-over-TLS (DoT)) as opposed to a recursive DNS server",
|
|
"type": "info"
|
|
}
|
|
]
|
|
}
|