I have installed the ns8 as Ad Samba. Unfortunately, the name resolution of the internal dns does not work and therefore cannot access nexcloud and webtop. What is the error here?
ip address: 192.168.0.4
Gateway: 192.168.0.1
dns: 192.168.0.4
Do not set Samba as the DNS resolver for your NS8 node!
On an NS8 node, the /etc/resolv.confnameserver must point to a public DNS resolver, such as your internet provider’s DNS, or a public resolver like Google or Cloudflare.
For example,
in the “DNS servers” input line, enter 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare).
Save the connection and restart NetworkManager:
systemctl restart NetworkManager
Make sure /etc/resolv.conf contains the correct nameservers.
What happens next? Samba DNS is authoritative for the AD zone and always uses the entries in /etc/resolv.conf as forwarders for other zones.
In you LAN clients, configure the NS8 node’s IP address (192.168.0.4) as the DNS server.
Some say this setup works only in small environments because Samba’s DNS service is not an enterprise-grade DNS server. As an alternative, you can set up another LAN DNS resolver that conditionally forwards queries for the AD zone to NS8. I use this setup at the office: for this purpose NethSecurity can be configured to conditionally forward specific DNS zones.
Hello Davide,
Thank you very much for your quick reply. I have set up the clients manually with the dns (192.168.0.4). The nslookup query works.
Unfortunately I still can’t access via sogo.domain -remote.domain (error message the page is not reachable)
Samba AD DNS by default handles only the AD zone, let’s say it’s ad.myns8.org. I’m assuming you want SOGo name under a different zone, like sogo.myns8.org.
It is possible to configure Samba to override also other public DNS zones: it’s a split-DNS configuration. I think you call them .domain and .remote.domain, right?