Bug 14599 - Add possibility to set custom ports for DNS
Summary: Add possibility to set custom ports for DNS
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2020-12-17 18:27 UTC by Alex
Modified: 2020-12-20 07:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2020-12-17 18:27:46 UTC
Currently Samba AD DC doesn't allow to set custom port for internal DNS server and custom port for DNS forwarder. Because of this it is not possible on one interface to use several DNS servers that doesn't provide necessary flexibility while building different solutions.

The problem was discussed in mailing list:

1) https://lists.samba.org/archive/samba/2015-February/189494.html
2) https://lists.samba.org/archive/samba/2020-December/233690.html

So I suggest to add possibility to set custom port for Samba internal DNS server AND/OR to set custom port for DNS forwarder.
Comment 1 Alex 2020-12-18 08:20:55 UTC
To show that this requirement is rather popular here is the link to serverfault question that was viewed 2k times https://serverfault.com/questions/666972/possible-to-make-samba4s-internal-dns-server-listen-on-non-standard-port
Comment 2 Björn Jacke 2020-12-20 00:36:27 UTC
as this was pointed out in the discussions before, this will not be made customizable. Use a different IP address or even better a different machine if you need to set up a diferent DNS server. Do also not continue the discussion you started on the mailing list here, please.
Comment 3 Alex 2020-12-20 07:40:24 UTC
As I said that is a wrong decision. When we need different services on the same network interface we use PORTS but NOT VIRTUAL IPs and NOT DIFFERENT MACHINES. 

And please, don't try to make other keep silence suggesting such wrong and silly (yes, it is silly) suggestion.