Skip to content

Commit 5b4c70f

Browse files
committed
docs/pi-hole: consistently use the same example IP
Fix to assume your RPi IP-address being 192.168.1.10 in all examples. Previously some parts of the doc assumed 192.168.1.50.
1 parent 19786e8 commit 5b4c70f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/Containers/Pi-hole.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ where «your_ip» can be:
183183
Login to the Pi-hole web interface: `http://raspberrypi.local:8089/admin`:
184184

185185
1. Select from Left menu: Local DNS -> DNS Records
186-
2. Enter Domain: `raspberrypi.home.arpa` and IP Address: `192.168.1.10`.
186+
2. Enter Domain: `raspberrypi.home.arpa` and the RPi's IP Address, e.g. `192.168.1.10`.
187187
3. Press Add.
188188

189189
Now you can use `raspberrypi.home.arpa` as the domain name for the Raspberry Pi
@@ -269,26 +269,26 @@ Make these assumptions:
269269
resolv_conf_local_only=NO
270270
```
271271

272-
2. The Raspberry Pi running Pi-hole has the IP address 192.168.1.50 which it obtains as a static assignment from your DHCP server.
273-
3. You have configured your DHCP server to provide 192.168.1.50 for client devices to use to obtain DNS services (ie, you are saying clients should use Pi-hole for DNS).
272+
2. The Raspberry Pi running Pi-hole has the IP address 192.168.1.10 which it obtains as a static assignment from your DHCP server.
273+
3. You have configured your DHCP server to provide 192.168.1.10 for client devices to use to obtain DNS services (ie, you are saying clients should use Pi-hole for DNS).
274274

275275
The result of the configuration appears in `/etc/resolv.conf`:
276276

277277
```console
278278
$ cat /etc/resolv.conf
279279
# Generated by resolvconf
280280
nameserver 127.0.0.1
281-
nameserver 192.168.1.50
281+
nameserver 192.168.1.10
282282
nameserver 8.8.8.8
283283
```
284284

285285
Interpretation:
286286

287287
* `nameserver 127.0.0.1` is present because of `name_servers=127.0.0.1`
288-
* `nameserver 192.168.1.50` is present because it was learned from DHCP
288+
* `nameserver 192.168.1.10` is present because it was learned from DHCP
289289
* `nameserver 8.8.8.8` is present because of `name_servers_append=8.8.8.8`
290290

291-
The fact that the Raspberry Pi is effectively represented twice (once as 127.0.0.1, and again as 192.168.1.50) does not matter. If the Pi-hole container stops running, the Raspberry Pi will bypass 192.168.1.50 and fail over to 8.8.8.8, failing back to 127.0.0.1 when the Pi-hole container starts again.
291+
The fact that the Raspberry Pi is effectively represented twice (once as 127.0.0.1, and again as 192.168.1.10) does not matter. If the Pi-hole container stops running, the Raspberry Pi will bypass 192.168.1.10 and fail over to 8.8.8.8, failing back to 127.0.0.1 when the Pi-hole container starts again.
292292

293293
Notes:
294294

0 commit comments

Comments
 (0)