Creating a domain name server on zima

Hello, community.

I have a question.

Here it is: I’m thinking of routing some of the services I host through a VPN.

In order to be able to enter the subdomain and domain name instead of just the IP address, I think I need a DNS server on my Zima.

If I’m not mistaken, I’ve found three of them in the official apps.

Which one do you recommend?

Thank you.

Best regards.

Respectfully.

@dany_wilde If the actual requirement is to access directly via a domain name, you can achieve it by modifying the hosts file on the client machine, or if you have a registered domain, you can use public DNS to resolve it to the virtual IP assigned by the mesh network. If you want to deploy a DNS service on ZimaOS, I recommend trying AdGuardHome (just a personal preference).

If you also need to enable an application to be accessed through a subdomain name, you need to separately configure the front reverse proxy and point a subdomain name to the corresponding port.

I’ll take note of your reply, @Bin.

Here’s my setup on my NAS:

I’m hosting apps via Nginx and Cloudflare (“Cloudflared” tunnel connection).

I wanted to run some of my apps through a VPN.

I found a VPN (WireGuard).

Unfortunately, AdGuard Home doesn’t seem to be 100% compatible.

So I looked for a domain name manager that I could use on my NAS alongside the VPN and in place of AdGuard Home.

This would be possible, but it requires changing the port and IP address of AdGuard Home and replacing it with this utility (CoreDNS , CoreDNS ), which would then use AdGuard Home’s port (53) as well as its IP address (that of the NAS).

This makes the solution much more complicated.

I’m wondering if I shouldn’t just give up on the idea of a DNS server behind WireGuard.

The solution—keeping AdGuard Home for DNS filtering—is far too complex for me, and I’m seriously wondering if any of this is even feasible in my case.

Looking forward to hearing from you…

Best regards,

Respectfully,

Dany.

Translated with DeepL.com (free version)

@dany_wilde It is also entirely possible to install a back-end DNS server, so feel free to try it

I’d be happy to set up a DNS server in the background.

But how do you do it?

So far, I’ve secured the app I wanted with a password managed by Nginx.

I’d really like to use the following architecture for some of my machines:

Internet

VPN (WireGuard)

DNS server

Machines

with AdGuard Home running in parallel to perform DNS filtering.

But for now, it’s too complicated for me.

If you have a solution or explanation, I’d love to hear it.

Looking forward to your response.

Best regards,

Respectfully,

Dany.

Translated with DeepL.com (free version)