[CentOS] /etc/networks file

John Pierce

jhn.pierce at gmail.com
Mon Jun 15 17:54:44 UTC 2020


On Mon, Jun 15, 2020 at 4:39 AM Stephen John Smoogen <smooge at gmail.com>
wrote:

>
> This is an archaic file which is equivalent to /etc/hosts and can be  used
> by various network tools instead of DNS.
> https://linux-audit.com/the-purpose-of-etc-networks/
>
> Other than getent, this file seems to be little use in a default EL7/EL8
> system as route and netstat were 'deprecated' and have to be installed
> outside of default installs.
>


IIRC, the names in /etc/networks would be used in places like ip.wrappers
and NFS exports.   The earliest Solaris networks I worked with made pretty
extensive use of that archaic kinda stuff.


-- 
-john r pierce
  recycling used bits in santa cruz


More information about the CentOS mailing list