Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:guest_lxc_container_pihole [2020/05/31 21:28] abelbeck |
userdoc:guest_lxc_container_pihole [2022/01/07 10:20] (current) mkeuter |
||
---|---|---|---|
Line 3: | Line 3: | ||
The [[https:// | The [[https:// | ||
- | Pi-hole is a perfect example to use with AstLinux within a LXC. Begin as with the "Quick Start Guide" but use the name '' | + | Pi-hole is a perfect example to use with AstLinux within a LXC. |
- | First, it is assumed the '' | + | **Resource Usage:** (minimum) |
+ | * Memory: 50 MB | ||
+ | * Storage: 0.7 GB | ||
+ | \\ | ||
+ | |||
+ | First, it is assumed the '' | ||
Then from the CLI: | Then from the CLI: | ||
Line 11: | Line 16: | ||
lxc-create -t download -n pi-hole -- -d debian -r buster -a amd64 --no-validate | lxc-create -t download -n pi-hole -- -d debian -r buster -a amd64 --no-validate | ||
- | service lxc init | + | service lxc restart |
lxc-attach pi-hole | lxc-attach pi-hole | ||
Line 48: | Line 53: | ||
# choose " | # choose " | ||
| | ||
- | The Pi-hole LXC container | + | \\ |
+ | !!Related Info ->!! **[[userdoc: | ||
+ | |||
+ | \\ | ||
+ | **Override default DHCP dns-server option** | ||
+ | |||
+ | By default, the DHCP server (dnsmasq) offers the '' | ||
+ | |||
+ | ## Override default dns-server option | ||
+ | dhcp-option=lan, | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | Replace the '' | ||
+ | |||
+ | \\ | ||
+ | **Pi-hole Interface Settings Config** | ||
+ | |||
+ | Newer versions (2021/12) of Pi-hole default to " | ||
+ | |||
+ | One solution is to change the Pi-hole Interface Setting from "Allow only local requests" | ||