summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-18 21:57:25 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-19 12:48:50 +0200
commit5c06d56aef63011f00beb88f70db60f89e6a2ec8 (patch)
tree625631352da10e5619f1f7f9cd80a4fe1c527df1 /docs/configuration
parent4e6a2940e498aff5569bc2c7fc3b8061cb6d5a8a (diff)
downloadvyos-documentation-5c06d56aef63011f00beb88f70db60f89e6a2ec8.tar.gz
vyos-documentation-5c06d56aef63011f00beb88f70db60f89e6a2ec8.zip
dhcp: T3838: rename dns-server -> name-server
(cherry picked from commit ce87426f6316754a5f6809d99c8dfd6c4208aff4)
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/service/dhcp-server.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 980e9c88..c8c3be94 100644
--- a/docs/configuration/service/dhcp-server.rst
+++ b/docs/configuration/service/dhcp-server.rst
@@ -36,7 +36,7 @@ Configuration
`<address>`.
.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet <subnet>
- dns-server <address>
+ name-server <address>
This is a configuration parameter for the subnet, saying that as part of the
response, tell the client that the DNS server can be found at `<address>`.
@@ -188,7 +188,7 @@ Options
- time-servers
- RFC 868 time server IPv4 address
- Y
- * - dns-server
+ * - name-server
- 6
- domain-name-servers
- DNS server IPv4 address
@@ -333,7 +333,7 @@ Common configuration, valid for both primary and secondary node.
.. code-block:: none
set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 default-router '192.0.2.254'
- set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 dns-server '192.0.2.254'
+ set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 name-server '192.0.2.254'
set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 domain-name 'vyos.net'
set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 range 0 start '192.0.2.10'
set service dhcp-server shared-network-name NET-VYOS subnet 192.0.2.0/24 range 0 stop '192.0.2.250'
@@ -361,7 +361,7 @@ Common configuration, valid for both primary and secondary node.
Raw Parameters
--------------
-* Override static-mapping's dns-server with a custom one that will be sent only
+* Override static-mapping's name-server with a custom one that will be sent only
to this host.
* An option that takes a quoted string is set by replacing all quote characters
with the string ``&quot;`` inside the static-mapping-parameters value.