add reference to /etc/hosts

This mainly for search engine optimization -- it took me too much effort to get the correct results I wanted by searching the Internet for `vyos hosts file`
This commit is contained in:
bri 2023-01-13 12:10:03 -05:00 committed by GitHub
parent b2a2b3bc35
commit 4f08e26f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,8 @@ Static Hostname Mapping
How an IP address is assigned to an interface in :ref:`ethernet-interface`.
This section shows how to statically map an IP address to a hostname for local
(meaning on this VyOS instance) name resolution.
(meaning on this VyOS instance) name resolution. This is the VyOS equivalent to
`/etc/hosts` file entries.
.. cfgcmd:: set system static-host-mapping host-name <hostname> inet <address>