From 775939823a5a956acc236c808d5aee78cbd9e132 Mon Sep 17 00:00:00 2001 From: Matthew Grant Date: Sat, 18 Sep 2021 09:57:26 +1200 Subject: [PATCH] libcli/dns: dns forwarder port doc changes Documentation changes specifying how list entries for dns forwarder are to be specified with ability to add trailing target port number. Signed-off-by: Matthew Grant Reviewed-by: Uri Simchoni Reviewed-by: Andrew Bartlett --- docs-xml/smbdotconf/domain/dnsforwarder.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs-xml/smbdotconf/domain/dnsforwarder.xml b/docs-xml/smbdotconf/domain/dnsforwarder.xml index f65740a7a24..cf8875ea5a0 100644 --- a/docs-xml/smbdotconf/domain/dnsforwarder.xml +++ b/docs-xml/smbdotconf/domain/dnsforwarder.xml @@ -8,10 +8,14 @@ The DNS forwarder is only used if the internal DNS server - in Samba is used. + in Samba is used. Port numbers can be appended by separating them from + the address by using a colon (':'). When specifying a port, IPv6 + addresses must be enclosed in square brackets ('[' and ']'). IPv6 + forwarder addresses with no port specified, don't need the square + brackets, and default to port 53. -192.168.0.1 192.168.0.2 +192.168.0.1 192.168.0.2 ::1 [2001:db8::1] [2001:db8:1:2::1]:54