/etc/hosts permanent changes?
How can i achieve permanent changes of /etc/hosts? I found that i can do "chattr +i /etc/hosts", but i think this is a solution of necessity. Is there another way to add a host?
There was another similar thread and the answer was "edit /etc/hostname"; there is no such filename however. What can i do? Thanks |
What do you want to do ? resolve known host names to their IPs ?
If yes, it is not hard, add the hosts in /etc/hosts as : Why do you need to chattr it ? |
All times are GMT -5. The time now is 08:41 PM. |