From cff9f7a29130a1f8335e000520fbd6e0fa90ad33 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Mon, 27 Mar 2023 01:59:06 -0500 Subject: dns: T5113: Support custom port for name-server forwarders Support optional custom port for name-server forwarders. --- docs/configuration/service/dns.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs') 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
+.. cfgcmd:: set service dns forwarding name-server
port - Send all DNS queries to the IPv4/IPv6 DNS server specified under `
`. - You can configure multiple nameservers here. + Send all DNS queries to the IPv4/IPv6 DNS server specified under `
` + on optional port specified under ``. The port defaults to 53. You can + configure multiple nameservers here. .. cfgcmd:: set service dns forwarding domain server
@@ -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 -- cgit v1.2.3