Can not set up Virtualmin DNS

SYSTEM INFORMATION
Ubuntu Linux 24.04.3 REQUIRED
7.40.1 REQUIRED

Hello guys! Little help please!

I have a domain greekserver.cloud with a glue record-custom name server ns1.greekserver.cloud pointing to the ip of the server.

The server hostname is ns1.greekserver.cloud with dns enabled. Why isn’t working? What am i missing?

Thanks

Seems your firewall is blocking your requests:

Nmap scan report for ns1.greekserver.cloud (xx.xx.xx.xx)
Host is up (0.031s latency).

PORT STATE SERVICE
53/udp closed domain

Also, a good tip for future DNS troubleshooting, see IntoDNS - here for your domain specifically.

firewall block would show the port as “filtered”, not closed.
closed usually means that nothing is running on that port.

p.s. it now shows as “open”, just misconfigured (no replies about (sub)domain).

I have this rules in firewalld. How do i open port 53?

If this is a vps rather than a stand alone machine you may find that your VPS providers firewall does not have port 53 open, but many give you the ability to open the port via their vps control panel. From your screenshot firewalld has port 53 open

I allready contacted my vps host provider. They don’t have that port closed.

Just checked & yes the port is open, however you have a problem with your nameserver not resolving.
I would switch back to your registrars nameservers (namecheap) and add the correct dns records in their interface so you at least get your nameserver to resolve.
Or if you have a spare domain name use this as you nameserver but keep the dns records on your registrar’s name servers so :-
nameserver domain has A records that point to your vps IP address
e.g. ns.sparedomain.com = your vps ip address
ns2.sparedomain.com = your vps ip address
then change the nameservers for greekserver.cloud to the ns.domain names you created on the spare domain.
This means your ns servers IP addresses are handled by a third party & should always resolve (unless namecheap’s dns servers fail) to the IP address of your vps and everything will work as expected, with virtualmin/webmin managing your dns

But i want use my nameservers thats why i ask all these. Also in check port tools shows port 53 closed and i don’t understand why. In firewalld shows open.

the actual error is

telnet ns1.greekserver.cloud 53
Server lookup failure:  ns1.greekserver.cloud:53, Temporary failure in name resolution

which means your server does not resolve, so nobody can even reach your server let alone test if port 53 is open or closed

port 53 is open (as already said )
name resolution fails for your domain only. resolves other domains correctly .
so, misconfiguration for your domain.

correct there are no dns records for both ns1.greekserver.cloud or ns2.greekserver.cloud, the OP needs to get these 2 dns A records setup

show us the DNS page for the virtual server so we can see the records.

when you create greekserver.cloud in virtualmin go the DNS page and make sure you have ns1.greekserver.cloud with an A record to your IP and that you have NS records with ns1.greekserver.cloud for the domain.

A also have a second domain greekserver.online with the attached dns settings. Doesn;t work either.

It’s a new installation five days ago. I haven’t touch or changed any configuration

Check if bind is running and what the status is.

Check if the glue records are setup correctly at your registrar.

Bind is running. Nameserver name is correct in whois search. Port 53 is Open That is is the nameserver used on registral.

Please take into account your nameservers don’t resolve, there is no way anybody can query them, you must get your nameservers to resolve in the first place, an not look at things that are most likely working. Again without your nameservers resolving nothing is going to work

How can i do that?

ok have you also set that nameserver for your domain? you need to do that also in the namecheap interface.

Yes i did.