You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Containers/Pi-hole.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ where «your_ip» can be:
183
183
Login to the Pi-hole web interface: `http://raspberrypi.local:8089/admin`:
184
184
185
185
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`.
187
187
3. Press Add.
188
188
189
189
Now you can use `raspberrypi.home.arpa` as the domain name for the Raspberry Pi
@@ -269,26 +269,26 @@ Make these assumptions:
269
269
resolv_conf_local_only=NO
270
270
```
271
271
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).
274
274
275
275
The result of the configuration appears in `/etc/resolv.conf`:
276
276
277
277
```console
278
278
$ cat /etc/resolv.conf
279
279
# Generated by resolvconf
280
280
nameserver 127.0.0.1
281
-
nameserver 192.168.1.50
281
+
nameserver 192.168.1.10
282
282
nameserver 8.8.8.8
283
283
```
284
284
285
285
Interpretation:
286
286
287
287
* `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
289
289
* `nameserver 8.8.8.8` is present because of `name_servers_append=8.8.8.8`
290
290
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.
0 commit comments