Configuration : Network > Network Files : Understanding network file configuration : Hard limits for the /etc/hosts file
Hard limits for the /etc/hosts file
You need to be aware of the hard limits on the line size and number of aliases when you edit the
/etc/hosts
file.
The hard limits are as follows:
•
Maximum line size is 1022 characters.
The line size limit includes the end of line character. You can enter up to 1021 characters per line.
•
Maximum number of aliases is 34.
Note:
There is no limit on file size.
Was this topic helpful? Send
comments
to NetApp.