diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-18 21:57:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-19 12:48:50 +0200 |
commit | 5c06d56aef63011f00beb88f70db60f89e6a2ec8 (patch) | |
tree | 625631352da10e5619f1f7f9cd80a4fe1c527df1 | |
parent | 4e6a2940e498aff5569bc2c7fc3b8061cb6d5a8a (diff) | |
download | vyos-documentation-5c06d56aef63011f00beb88f70db60f89e6a2ec8.tar.gz vyos-documentation-5c06d56aef63011f00beb88f70db60f89e6a2ec8.zip |
dhcp: T3838: rename dns-server -> name-server
(cherry picked from commit ce87426f6316754a5f6809d99c8dfd6c4208aff4)
-rw-r--r-- | docs/configuration/service/dhcp-server.rst | 8 | ||||
-rw-r--r-- | docs/quick-start.rst | 4 |
2 files changed, 6 insertions, 6 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 ``"`` 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! |