/etc/hosts file refer to another configuration file
52
votes
5
answers
58130
views
How can I get the
/etc/hosts
file to refer to another configuration file for it's list of hosts?
Example /etc/hosts
:
## My Hosts
127.0.0.1 localhost
255.255.255.255 broadcasthost
#Other Configurations
#Other Addresses
3.3.3.3 MyAwesomeDomain.com
4.4.4.4 SomeplaceIWantToGoTo.com
ConfigFile.txt
##My additional Hosts
1.1.1.1 SomeLocation.com
2.2.2.2 AnotherLocation.com
How do I add a link/Reference to /etc/hosts
file such that ConfigFile.txt will be loaded?
Asked by DogEatDog
(695 rep)
Jan 7, 2013, 04:11 PM
Last activity: Jan 21, 2023, 12:33 PM
Last activity: Jan 21, 2023, 12:33 PM