diff options
author | Robert Göhler <github@ghlr.de> | 2023-03-27 22:06:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 22:06:08 +0200 |
commit | a0e2e4c3989082d11d2b20ae470390719a65a695 (patch) | |
tree | db8ecf3393145be57a2ae7a44a211af1f89066bb /docs/configuration/service | |
parent | 940f21ec4efa5ef17a5145a6d7fa03e682e8bc08 (diff) | |
parent | cff9f7a29130a1f8335e000520fbd6e0fa90ad33 (diff) | |
download | vyos-documentation-a0e2e4c3989082d11d2b20ae470390719a65a695.tar.gz vyos-documentation-a0e2e4c3989082d11d2b20ae470390719a65a695.zip |
Merge pull request #976 from indrajitr/patch-2
dns: T5113: Support custom port for name-server forwarders
Diffstat (limited to 'docs/configuration/service')
-rw-r--r-- | docs/configuration/service/dns.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/configuration/service/dns.rst b/docs/configuration/service/dns.rst index 4315b6dc..5fe408f1 100644 --- a/docs/configuration/service/dns.rst +++ b/docs/configuration/service/dns.rst @@ -25,10 +25,11 @@ avoid being tracked by the provider of your upstream DNS server. Interfaces whose DHCP client nameservers to forward requests to. -.. cfgcmd:: set service dns forwarding name-server <address> +.. cfgcmd:: set service dns forwarding name-server <address> port <port> - Send all DNS queries to the IPv4/IPv6 DNS server specified under `<address>`. - You can configure multiple nameservers here. + Send all DNS queries to the IPv4/IPv6 DNS server specified under `<address>` + 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> @@ -167,8 +168,10 @@ In this scenario: set service dns forwarding domain example.com 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 set service dns forwarding name-server 2001:db8::1:ffff set service dns forwarding name-server 2001:db8::2:ffff + set service dns forwarding name-server 2001:db8::3:ffff port 8053 set service dns forwarding listen-address 192.168.1.254 set service dns forwarding listen-address 2001:db8::ffff set service dns forwarding allow-from 192.168.1.0/24 |