home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 8 / 08.iso / d / d422 / 10.ddi / LMHOSTS._ / LMHOSTS.
Encoding:
Text File  |  1993-07-24  |  2.8 KB  |  68 lines

  1. # Copyright (c) 1993 Microsoft Corp.
  2. #
  3. # This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows
  4. # NT 3.1
  5. #
  6. # This file contains the mappings of IP addresses to NT computernames
  7. # (NetBIOS) names.  Each entry should be kept on an individual line.
  8. # The IP address should be placed in the first column followed by the
  9. # corresponding computername. The address and the comptername
  10. # should be separated by at least one space or tab. The "#" character
  11. # is generally used to denote the start of a comment (see the exceptions
  12. # below).
  13. #
  14. # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
  15. # files and offers the following extensions:
  16. #
  17. #      #PRE
  18. #      #DOM:<domain>
  19. #      #INCLUDE <filename>
  20. #      #BEGIN_INCLUDE
  21. #      #END_INCLUDE
  22. #      \0xnn (non-printing character support)
  23. #
  24. # Following any entry in the file with the characters "#PRE" will cause
  25. # the entry to be preloaded into the name cache. By default, entries are
  26. # not preloaded, but are parsed only after dynamic name resolution fails.
  27. #
  28. # Following an entry with the "#DOM:<domain>" tag will associate the
  29. # entry with the domain specified by <domain>. This affects how the
  30. # browser and logon services behave in TCP/IP environments. To preload
  31. # a #DOM entry, it is necessary to also add a #PRE to the line.
  32. #
  33. # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
  34. # software to seek the specified <filename> and parse it as if it were
  35. # local. <filename> is generally a UNC-based name, allowing a
  36. # centralized lmhosts file to be maintained on a server. If the server
  37. # is located outside of the local broadcast area, it will probably be
  38. # necessary to provide a mapping for the server prior to the #INCLUDE.
  39. #
  40. # The #BEGIN_ and #END_INCLUDE keywords allow multiple #INCLUDE
  41. # statements to be grouped together. Any single successful include
  42. # will cause the group to succeed.
  43. #
  44. # Finally, non-printing characters can be embedded in mappings by
  45. # first surrounding the NetBIOS name in quotations, then using the
  46. # \0xnn notation to specify a hex value for a non-printing character.
  47. #
  48. # The following example illustrates all of these extensions:
  49. #
  50. # 102.54.94.97     rhino              #DOM:networking  #net group's DC
  51. # 102.54.94.102    "appname  \0x14"                    #special app server
  52. # 102.54.94.123    popular            #PRE             #source server
  53. #
  54. # #BEGIN_INCLUDE
  55. # #INCLUDE \\localsrv\public\lmhosts
  56. # #INCLUDE \\rhino\public\lmhosts
  57. # #END_INCLUDE
  58. #
  59. # In the above example, the "appname" server contains a special
  60. # character in its name, the "popular" servername is preloaded, and
  61. # the "rhino" servername is specified so it can be used to later
  62. # #INCLUDE a centrally maintained lmhosts file if the "localsrv"
  63. # system is unavailable.
  64. #
  65.  
  66.  
  67.  
  68.