update
This commit is contained in:
parent
7ae1b8ed6d
commit
8486acfdf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue