IT/Software/System Config/etc/hosts

From msgwiki
< IT‎ | Software‎ | System Config‎ | etc
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.

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