I've set up an AD domain controller through Samba 4. I'm using Samba 4's internal DNS Server for handling the SRV queries.
However, due to project requirements, my clients need to have a DNSMASQ as their one and only DNS server.
Thus, my plan was to forward all queries which DNSMASQ can't handle to the Samba 4 server.
Let's assume the IP addresses of the servers are like this:
Server with DNSMASQ: 192.168.0.10
Server with SAMBA4: 192.168.0.11
To achieve that, I have added the following line to my DNSMASQ.conf:
After restarting DNSMASQ, it is not forwarding SRV quries to the SAMBA 4 DC. If I add the following line:
the query gets forwarded, but the clients still can't join the domain. I get the following error message:
Host(A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses
Domain controllers registered in DNS are not connected to the network or are not running.
I assume there are still DNS problems, so these are my questions:
- Is what I want to do possible at all?
- Is there a way to just forward all SRV queries to another host with DNSMASQ?
- Why is the server=192.168.0.11 line not working? Am I missing anything there?