MacTCP: Host File‘s 7K Storage Limit



Only about the first 118 lines of my Hosts file is being read when I press
the "Host" button in the "Edit Command" box of MacX. Any items beyond line
118 bring up the message: "that Host cannot be translated", and they do
not show up in the list window despite the fact that they are in the Hosts
file.

Is there a limit as to how big the Hosts file can be, or can I change a
setting to use a larger file? My host file is currently 484 lines.

Yes, it is a known limitation on MacTCP Hosts file (and was stated in the
Release Notes of MacTCP 1.0) that there is a 7K of storage limitation of
parsing Hosts file.

The only workaround we can suggest is to use DNR (Domain Name Resolver) in
MacTCP. This will reduce the size of the Hosts file.


Published Date: Feb 18, 2012