Nice idea but that set-up shouldn't survive a reboot of the router or be available after destroying the router.
mario juliano grande-balletta <mario.balle...@gmail.com> schrieb am Mo., 21. März 2022, 15:27: > symlink /etc/hosts to a static file with read only > change the read only when you need to make changes to host names & IP > ---not the correct/best solution; very hack; but OK for temporary testing > > > -----Original Message-----From: Nux <n...@li.nux.ro>Reply-To: > users@cloudstack.apache.orgTo: users@cloudstack.apache.orgCc: Serge > Byishimo <sergebyish...@gmail.com>Subject: Re: Virtual Router /etc/hosts > FileDate: Mon, 21 Mar 2022 13:20:27 +0000 > Your best bet is to use DNS instead, there is no way to make /etc/hosts > permanent. > ---Nux!www.nux.ro > On 2022-03-21 11:27, Serge Byishimo wrote: > Hi all, > I would like to know how to make my added IPs in the /etc/hosts > filepermanent. > It seems every time cloudstack is restarted for some reason (power > outage,...) the IPs I added in the /etc/hosts file are lost. > This is not related to the already existing configurations that exist > inthat file but instead, there are other IPs I add to that file that > helpsthe NGINX proxy server I installed in the virtual router. > Any thoughts or comments would be appreciated! > Best regards, >