summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-18 21:57:25 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-18 21:57:25 +0200
commitce87426f6316754a5f6809d99c8dfd6c4208aff4 (patch)
treef8f539f9e6fe8c07d67094e34d404a02b91a4f9a /docs
parentf297cac2ec8bbfc7ce81c8f5349a921b30d734a2 (diff)
downloadvyos-documentation-ce87426f6316754a5f6809d99c8dfd6c4208aff4.tar.gz
vyos-documentation-ce87426f6316754a5f6809d99c8dfd6c4208aff4.zip
dhcp: T3838: rename dns-server -> name-server
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/service/dhcp-server.rst8
-rw-r--r--docs/quick-start.rst4
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 2400af28..93f9aa9f 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
@@ -335,7 +335,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'
@@ -364,7 +364,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.
diff --git a/docs/quick-start.rst b/docs/quick-start.rst
index 655ce072..55c3943c 100644
--- a/docs/quick-start.rst
+++ b/docs/quick-start.rst
@@ -94,7 +94,7 @@ DNS server.
.. code-block:: none
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 default-router '192.168.0.1'
- set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 dns-server '192.168.0.1'
+ set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 name-server '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 domain-name 'vyos.net'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 lease '86400'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 range 0 start 192.168.0.9
@@ -225,4 +225,4 @@ configuration mode:
vyos@vyos$
You now should have a simple yet secure and functioning router to experiment
-with further. Enjoy! \ No newline at end of file
+with further. Enjoy!