I've added some local domains to my /etc/hosts
on Ubuntu. But it rewrites it every time I reboot OS.
How and where can I add constantly my 127.0.0.1 mydomain.local
?
UPD
Before reboot I edit /etc/hosts
:
127.0.0.1 localhost.localdomain localhost mydomain.local
After reboot
127.0.0.1 localhost.localdomain localhost