Hello everybody,
I imagine this is not a doubt of mine.
The "/etc/hosts" file is an essential tool for those who want to organize access and maintain some control over hosts without depending on a DNS server.
The point is that it has to be uniform (having the same entrances) in each node, which makes us have to manually replicate it for each node.
I have tried to put it on the choosync creating a "hosts" file in "/etc/pve/priv" and creating a symbolic link in the "/etc/" folder, but it looks like Debian does not accept.
So I configured Cron to copy the files, but it is executed every 1m, for me is already a breakthrough but I really wanted to know your opinion about this procedure and if you have a faster way to do it.
And if not recommended also wanted to know why.
Thank you for your attention.
I imagine this is not a doubt of mine.
The "/etc/hosts" file is an essential tool for those who want to organize access and maintain some control over hosts without depending on a DNS server.
The point is that it has to be uniform (having the same entrances) in each node, which makes us have to manually replicate it for each node.
I have tried to put it on the choosync creating a "hosts" file in "/etc/pve/priv" and creating a symbolic link in the "/etc/" folder, but it looks like Debian does not accept.
So I configured Cron to copy the files, but it is executed every 1m, for me is already a breakthrough but I really wanted to know your opinion about this procedure and if you have a faster way to do it.
And if not recommended also wanted to know why.
Thank you for your attention.