On 2023-04-18 08:57, Carlos E. R. wrote:
LOL. How?
I am supposed to write the addresses of my local machines into my internal only DNS server, or the /etc/hosts file.
HOW?
They are dynamic addresses, they change. At least the prefix changes. The postfixes, one is temporary, so it is out, the other is fixed (concocted from the MAC, I think).
How on earth can I arrange to write into the DNS server the actual IPv6 addresses of all my machines, if they are not fixed?
Or you mean an external DNS server?
Then what address do I write there for accessing my home server? It could be the IPv6 address of my server itself. Maybe not, the router firewall blocks it.
Then it has to be the external IPv6 address of my router, which will do some virtual addressing trick, same as it does for IPv4, and send to the internal server. Huh?
Let me start by describing what I have here. I have both an external DNS for when I want to access my network from elsewhere and an internal DNS on my firewall/router. While I have a consistent prefix and could put my global addresses in my local DNS, I instead enabled Unique Local Addresses and use those within my LAN. If your prefix changes, then you will have to enable ULA and use those addresses in your local DNS. If you don't have a local DNS, then you can use the hosts file. I assume you also have IPv4 addresses working, which could be used if needed.