summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbri <284789+b-@users.noreply.github.com>2023-01-13 12:10:03 -0500
committerGitHub <noreply@github.com>2023-01-13 12:10:03 -0500
commit4f08e26f3d3097d1f8b99b744472209921ca4d6f (patch)
tree76def64beac8b4927f463976bf0c58dc4ec649bf /docs
parentb2a2b3bc35e124d4fb5e5b778cfd9de2b806e29e (diff)
downloadvyos-documentation-4f08e26f3d3097d1f8b99b744472209921ca4d6f.tar.gz
vyos-documentation-4f08e26f3d3097d1f8b99b744472209921ca4d6f.zip
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`
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/system/host-name.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/configuration/system/host-name.rst b/docs/configuration/system/host-name.rst
index 79fae851..6b3a075f 100644
--- a/docs/configuration/system/host-name.rst
+++ b/docs/configuration/system/host-name.rst
@@ -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>