I have read various resources about how DNS is handled in yunohost and find them a bit confusing, even inconsistent sometimes. So please forgive me for asking the basic questions but the answers do not seem obvious.
The service
First, the service itself. In my admin interface the only sign of a DNS is Bind9, but it’s inactive and I can’t activate it. Then on the command line, in the processes all I can find about a DNS service is dnsmasq. In the latest release announcement I understand we should be using dnsmasq.
So should we use dnsmasq? Then what about bind9? Should it be removed?
Resolver
I have started looking at dnsmasq, which looks nice. But there is something I’m not sure about it. It seems to be a DNS forwarder. So when I need a resolver, dnsmasq won’t actually do the resolving and instead pass it along to the DNS listed in its resolv.conf. Am I right or am I missing something?
It’s not a very big deal but some routers (Mikrotik if I’m not mistaken) work as forwarders too, so if you give them the address of your yunohost DNS as resolver then a loop is created and unless the router has other DNS listed then resolving is impossible in that scenario.
It’s not super important but I would like to have a resolver on the yunohost.
DNS server
Now I would like to tell my registrar to stop being responsible for my DNS and instead consider my yunohost as the DNS server for my domain.
My understanding is that dnsmasq will configure everything installed on the yunohost box to just work. But what about things that I need to configure manually on my domain, that are external to my yunohost? Can I do it? Should there be a interface in the admin? Should I edit something manually on the command line?
I would like to add stuffs like an external mail server in the MXs or some NS servers.
Is it supposed to handle reverse DNS as well?
Thanks for your help!