summaryrefslogtreecommitdiff
path: root/docs/configuration/service
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-05-06 20:36:55 +0200
committerGitHub <noreply@github.com>2023-05-06 20:36:55 +0200
commit99d0c110019292047f1d0213eef6b333c954ce06 (patch)
treeac8d5cdebcf904f40f8e3d90dddc0b932aeb309c /docs/configuration/service
parent5296a248d01069fd86eb16aef931a4eef5180120 (diff)
parentde87e498ec35dc47b5eb55e794937202d698fde0 (diff)
downloadvyos-documentation-99d0c110019292047f1d0213eef6b333c954ce06.tar.gz
vyos-documentation-99d0c110019292047f1d0213eef6b333c954ce06.zip
Merge pull request #1000 from JeromeBollinger/fix-correction-of-domain-forwarding-option-sagitta
fix: correction of domain forwarder configuration name-server instead of server in sagitta
Diffstat (limited to 'docs/configuration/service')
-rw-r--r--docs/configuration/service/dns.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/configuration/service/dns.rst b/docs/configuration/service/dns.rst
index 5fe408f1..92677d86 100644
--- a/docs/configuration/service/dns.rst
+++ b/docs/configuration/service/dns.rst
@@ -31,7 +31,7 @@ avoid being tracked by the provider of your upstream DNS server.
on optional port specified under `<port>`. The port defaults to 53. You can
configure multiple nameservers here.
-.. cfgcmd:: set service dns forwarding domain <domain-name> server <address>
+.. cfgcmd:: set service dns forwarding domain <domain-name> name-server <address>
Forward received queries for a particular domain
(specified via `domain-name`) to a given nameserver. Multiple nameservers
@@ -164,8 +164,8 @@ In this scenario:
.. code-block:: none
- set service dns forwarding domain example.com server 192.0.2.254
- set service dns forwarding domain example.com server 2001:db8:cafe::1
+ set service dns forwarding domain example.com name-server 192.0.2.254
+ set service dns forwarding domain example.com name-server 2001:db8:cafe::1
set service dns forwarding name-server 192.0.2.1
set service dns forwarding name-server 192.0.2.2
set service dns forwarding name-server 192.0.2.3 port 853