vault backup: 2025-11-08 15:34:36
Affected files: .obsidian/workspace.json 2 Personal/Home Lab/Pi-Hole in Homenetwork.md
This commit is contained in:
62
.obsidian/workspace.json
vendored
62
.obsidian/workspace.json
vendored
@@ -283,23 +283,9 @@
|
|||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "Status Quo OneSec"
|
"title": "Status Quo OneSec"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d11cf0eb0cd13ef9",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "markdown",
|
|
||||||
"state": {
|
|
||||||
"file": "0 Journal/0 Daily/2025-11-07.md",
|
|
||||||
"mode": "source",
|
|
||||||
"source": false
|
|
||||||
},
|
|
||||||
"icon": "lucide-file",
|
|
||||||
"title": "2025-11-07"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"currentTab": 4
|
"currentTab": 3
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
@@ -331,7 +317,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "search",
|
"type": "search",
|
||||||
"state": {
|
"state": {
|
||||||
"query": "chez",
|
"query": "pi",
|
||||||
"matchingCase": false,
|
"matchingCase": false,
|
||||||
"explainSearch": false,
|
"explainSearch": false,
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
@@ -527,7 +513,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 261.5
|
"width": 261.5,
|
||||||
|
"collapsed": true
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
@@ -549,10 +536,49 @@
|
|||||||
"periodic-notes:Open today": false
|
"periodic-notes:Open today": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"floating": {
|
||||||
|
"id": "61e83cbecc8bf978",
|
||||||
|
"type": "floating",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "d1502451519a8e7d",
|
||||||
|
"type": "window",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "b005a604f08a4366",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "d11cf0eb0cd13ef9",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "2 Personal/Home Lab/Pi-Hole in Homenetwork.md",
|
||||||
|
"mode": "source",
|
||||||
|
"source": false
|
||||||
|
},
|
||||||
|
"icon": "lucide-file",
|
||||||
|
"title": "Pi-Hole in Homenetwork"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "vertical",
|
||||||
|
"x": 0,
|
||||||
|
"y": 44,
|
||||||
|
"width": 900,
|
||||||
|
"height": 1125,
|
||||||
|
"maximize": false,
|
||||||
|
"zoom": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"active": "d11cf0eb0cd13ef9",
|
"active": "d11cf0eb0cd13ef9",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"0 Journal/0 Daily/2025-11-03.md",
|
|
||||||
"0 Journal/0 Daily/2025-11-07.md",
|
"0 Journal/0 Daily/2025-11-07.md",
|
||||||
|
"0 Journal/0 Daily/2025-11-03.md",
|
||||||
"99 Work/0 OneSec/OneSecThoughts/Status Quo OneSec.md",
|
"99 Work/0 OneSec/OneSecThoughts/Status Quo OneSec.md",
|
||||||
"Attachments/Pasted image 20251104121740.png",
|
"Attachments/Pasted image 20251104121740.png",
|
||||||
"2 Personal/Home Lab/Devices/Dell Studio 1558.md",
|
"2 Personal/Home Lab/Devices/Dell Studio 1558.md",
|
||||||
|
|||||||
@@ -12,10 +12,64 @@ I followed this tutorial: [World's Greatest Pi-hole Tutorial - Easy Raspberry Pi
|
|||||||
|
|
||||||
- Installed in goodolddell
|
- Installed in goodolddell
|
||||||
- 192.168.1.51
|
- 192.168.1.51
|
||||||
|
- [Pi-hole goodolddell](http://192.168.1.51/admin/)
|
||||||
|
-
|
||||||
|
|
||||||
## DNS Settings on Router
|
## DNS Settings on Router
|
||||||
![[Pasted image 20251017195849.png]]
|
![[Pasted image 20251017195849.png]]
|
||||||
|
|
||||||
|
## Make Pi-hole the Network’s DHCP (so all clients use it as DNS)
|
||||||
|
|
||||||
|
> Goal: Your router can’t set custom DNS, so we’ll let **Pi-hole (192.168.1.51)** hand out IP addresses **and** advertise itself as DNS. This gives you network-wide ad-blocking without touching per-device settings.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Prereqs (do these first)
|
||||||
|
|
||||||
|
1) **Give Pi-hole a fixed IP**
|
||||||
|
- Make a DHCP reservation on your router for the Dell/Pi-hole at **192.168.1.51** (MAC = Dell’s NIC).
|
||||||
|
- Or set a static IP on the Pi-hole host (keep it in the router’s LAN subnet; gateway = **192.168.1.1**).
|
||||||
|
|
||||||
|
2) **Know your LAN details**
|
||||||
|
- Router (gateway): **192.168.1.1**
|
||||||
|
- Pi-hole server: **192.168.1.51**
|
||||||
|
- Choose a DHCP range that avoids statics, e.g. **192.168.1.100–192.168.1.200**
|
||||||
|
|
||||||
|
3) **Make sure Pi-hole web UI works**
|
||||||
|
- Open **http://192.168.1.51/admin**
|
||||||
|
- If needed: `sudo pihole -a -p` to set/change the password.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Step 1 — Configure Pi-hole DNS (upstream)
|
||||||
|
|
||||||
|
In **Pi-hole → Settings → DNS**:
|
||||||
|
- Choose upstream resolvers (e.g., **Cloudflare** 1.1.1.1 / 1.0.0.1 or **Quad9**).
|
||||||
|
- (Optional) **Conditional Forwarding** to see client hostnames:
|
||||||
|
- Local network/CIDR: `192.168.1.0/24`
|
||||||
|
- IP of router: `192.168.1.1`
|
||||||
|
- Local domain name: e.g. `home` (or leave blank if unsure for now).
|
||||||
|
|
||||||
|
Click **Save**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Step 2 — Enable Pi-hole’s DHCP (but don’t disable router yet)
|
||||||
|
|
||||||
|
**UI method**
|
||||||
|
Pi-hole → **Settings → DHCP**:
|
||||||
|
- ✅ Enable DHCP server
|
||||||
|
- Range: **192.168.1.100** to **192.168.1.200**
|
||||||
|
- Router (gateway): **192.168.1.1**
|
||||||
|
- (Optional) Domain name: `home`
|
||||||
|
- Save
|
||||||
|
|
||||||
|
**CLI equivalent (optional)**
|
||||||
|
```bash
|
||||||
|
# On the Pi-hole host:
|
||||||
|
sudo pihole -a enabledhcp 192.168.1.100 192.168.1.200 192.168.1.1
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Todos
|
## Todos
|
||||||
- [ ] disable blocking - automation: should be easy for every user
|
- [ ] disable blocking - automation: should be easy for every user
|
||||||
|
|||||||
Reference in New Issue
Block a user