I need to modify (add to) my hosts file but according to the wiki, the /etc folder is not persistent between boots.
Not a problem as I can create a script that appends to it at boot time.
However I see that the hosts file is a mix of ipv4 and ipv6 stuff, can I add ipv4 stuff at the end of the hosts file?
For example my hosts file looks something like this:
127.0.0.1 box localhost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
then a bunch of IPv6 related lines.
Can I append to the end of the file with lines like this: