A few questions NS8

NethServer Version: NS8 last Version incl. all Updates
Module: ntop,dnsmasq, Letsencrypt, etc.

I’ll try to write down a few things I’d like to check. First and foremost, I’m concerned with feasibility. Will we see ntop on NS8, is there an alternative to this? Is it possible to install multiple domain names on one certificate. In other words, if I have an external domain that is domain.xyz.de but internally I want it to work on the new NS8 system with different domain names, for example stirling.xyz.de sogo.xyz.de ns8.xyz.de ? How does the distribution of IP addresses and DNS information work? DNSMasq only allows to set a range and gateway, how do I get an explicit DNS server addressed? Especially the DNS things I would like to solve via a PI-Hole, would it be an option to run the whole DHCP etc. without DNSMasq, which seems to be more or less useless…

The network stuff was moved to NethSecurity but there’s a ntop docker container which could be used so you could open a Feature request.

Just setup the DNS records for stirling.xyz.de etc. pointing to the NS8 in dnsmasq or the router.

You can add advanced options, see also DNSMasq — NS8 documentation

Create a custom configuration file for dnsmasq1

runagent -m dnsmasq1 nano dnsmasq.d/99custom.conf

with following content to set the dhcp option for the DNS server to for example 192.168.0.1:

dhcp-option=option:dns-server,192.168.0.1

Restart dnsmasq1:

systemctl restart dnsmasq1

That’s also possible as NS8 works with any DHCP or DNS server so dnsmasq isn’t required.

Hello @mrmarkuz thanks again for your good advice.it is really incredible what expertise you have and can convey it to a not so experienced person, thank you for your great effort.
I will post the feature request in due course, maybe someone will take pity on me.

Regarding DNSMasq, I had understood that it would not work because the Samba is prioritized as DNS. Does this mean that the settings I would put in there would have the expected function? In other words, would the DNS entries find their destination?

Thanks for the tip about the custom DNS, that’s exactly what I was looking for

Yes, I forgot that there’s samba.

It’s possible to use samba DNS together with dnsmasq DHCP (including custom DNS) but the samba DNS doesn’t resolve the DHCP hosts.
Samba DNS can be configured using RSAT from a Windows device or using samba-tool, see also DNS Administration - SambaWiki

Example to create a DNS entry in samba1 using samba-tool:

runagent -m samba1 podman exec -ti samba-dc samba-tool dns add dc1.domain.tld ad.domain.tld myhost A 192.168.0.100 -U administrator

As alternative method you could move the DHCP/DNS servers to the router and setup a conditional DNS forwarder to the NS8 Samba DNS.

1 Like

i have already did it by RSAT to bring on the stirling and sogo urls. i will check the things, thanks again @mrmarkuz

1 Like