IT/Software/System Config/etc/hosts: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
(Created page with "<accesscontrol>ITStaff,Admins</accesscontrol> == About == * The hosts file is the first place your system looks to resolve dns queries. == Practical Application == * The 2 ma...") |
mNo edit summary |
||
Line 8: | Line 8: | ||
== Examples == | == Examples == | ||
* The following line would be used to address Jademonkey by their name instead of their IP. | * The following line would be used to address Jademonkey by their name instead of their IP. | ||
* <code>192.168.2.111 jademonkey</code> | ** <code>192.168.2.111 jademonkey</code> | ||
* The following lines direct traffic directly to the LAN server greatly increasing throughput and responsiveness. | * The following lines direct traffic directly to the LAN server greatly increasing throughput and responsiveness. | ||
*<code>192.168.2.100 msgcnx.msgeducation.com</code> | **<code>192.168.2.100 msgcnx.msgeducation.com</code> | ||
*<code>192.168.2.100 files.msgcnx.com</code> | **<code>192.168.2.100 files.msgcnx.com</code> | ||
*<code>192.168.2.100 moodle.msgcnx.com</code> | **<code>192.168.2.100 moodle.msgcnx.com</code> |
Latest revision as of 19:29, 23 January 2020
About
- The hosts file is the first place your system looks to resolve dns queries.
Practical Application
- The 2 main ways we use the hosts file are to make addressing local machines easier and avoiding external DNS and pointing directly to local servers.
Examples
- The following line would be used to address Jademonkey by their name instead of their IP.
192.168.2.111 jademonkey
- The following lines direct traffic directly to the LAN server greatly increasing throughput and responsiveness.
192.168.2.100 msgcnx.msgeducation.com
192.168.2.100 files.msgcnx.com
192.168.2.100 moodle.msgcnx.com