mirror of
https://github.com/DoTheEvo/selfhosted-apps-docker.git
synced 2026-07-03 14:06:40 +02:00
update
This commit is contained in:
+7
-3
@@ -18,9 +18,13 @@ where your requests should go out and then right back.</br>
|
||||
Usual quick way to solve this issue is
|
||||
[editing the `hosts` file](
|
||||
https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/caddy_v2#--editing-hosts-file)
|
||||
on your machine, but if more devices should "just work" it is a no-go.</br>
|
||||
So the answer is running a DNS server that pairs the local machines IP with
|
||||
the correct hostnames, and a DHCP server that tells the devices on the network
|
||||
on your machine, adding `192.168.1.222 example.com` IP-hostname pair.
|
||||
This tells your machine to fuck asking google's DNS, the rule is right there,
|
||||
`example.com` goes directly to the local server ip `192.168.1.222`.</br>
|
||||
But if more devices should "just work" it is a no-go, since this just works
|
||||
one the machine which `hosts` file was edited.</br>
|
||||
So the answer is running a DNS server that does this
|
||||
and a DHCP server that tells the devices on the network
|
||||
to use this DNS.
|
||||
|
||||
# Prerequisites
|
||||
|
||||
Reference in New Issue
Block a user