Errors were found in your system's BIND configuration - no matter what I do

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Usermin version 2.102
Virtualmin version 7.20.2
Theme version 21.20.7
Apache version 2.4.52
Package updates All installed packages are up to date

background

  • mbmdev.com is test site on my dev server
  • this server is not exposed to the internet, never has, never will be, so the real IP can be classed as a placeholder.
  • I have other accounts on this server that have no issue with DNS
  • I have DNS enabled, but it is not used really.

the issue

I cannot get Virtualmin to do a successful check and always get this error. I had this on recent versions of Virtualmin

NB: the DNS zone reset button process has some issue which I will look at later. I just mentioned it in case anyone things that might fix things, i did’t. :slightly_frowning_face:

This is my zone file with Nameservers and their related A records. I have swapped my real IP.

$ttl 3600
mbmdev.com.	IN	SOA	ns1.mbmdev.com. root.ns1.mbmdev.com. (
			2024081808
			3600
			600
			1209600
			3600 )
mbmdev.com.	IN	A	31.125.123.123
www.mbmdev.com.	IN	A	31.125.123.123
ftp.mbmdev.com.	IN	A	31.125.123.123
ns1.mbmdev.com.	IN	A	31.125.123.123
ns2.mbmdev.com.	IN	A	31.125.123.123
localhost.mbmdev.com.	IN	A	127.0.0.1
ns1.mbmdev.com.	IN	NS	ns1.mbmdev.com.
ns2.mbmdev.com.	IN	NS	ns2.mbmdev.com.

what I have tried

  • Disabling the website did not fix it. the error still showed
  • I have DNS for this domain and it allowed me to to run a “check configuration”, but when I re-enabled it, the error returned.

the question

Can anyone see an issue?

Thanks

I don’t see the following lines

@       IN      NS      ns1.mbmdev.com. 
@       IN      NS      ns2.mbmdev.com.

in the file, normally placed just after the SOA, and not the similar lines you have placed at the bottom of the file
so the file would look like this

$ttl 3600
mbmdev.com.	IN	SOA	ns1.mbmdev.com. root.ns1.mbmdev.com. (
			2024081808
			3600
			600
			1209600
			3600 )
@       IN      NS      ns1.mbmdev.com. 
@       IN      NS      ns2.mbmdev.com.			
mbmdev.com.	IN	A	31.125.123.123
www.mbmdev.com.	IN	A	31.125.123.123
ftp.mbmdev.com.	IN	A	31.125.123.123
ns1.mbmdev.com.	IN	A	31.125.123.123
ns2.mbmdev.com.	IN	A	31.125.123.123
localhost.mbmdev.com.	IN	A	127.0.0.1

So this is is saying that your system is not ready, so this is a error during the install.

This is an error when I run the recheck virtualmin configuration. I do this for 2 reasons

  • the button telling me to re-check is always there.
  • I need to run this to re-generate the system SSL certificate because I was getting an error with dovecot starting because it could not find the hostname ssl

@jimr you were 100% on the money, thanks… I had some other things to take of before I could get back to you. I was creating the record wrong.

for reference this is what it should look like when create a NS record in the GUI

the only thin is my NS records do not have th @ but use the mbmdev.com domain.

$ttl 3600
mbmdev.com.	IN	SOA	ns1.mbmdev.com. root.ns1.mbmdev.com. (
			2024082903
			3600
			600
			1209600
			3600 )
mbmdev.com.	IN	A	31.125.123.123
www.mbmdev.com.	IN	A	31.125.123.123
ftp.mbmdev.com.	IN	A	31.125.123.123
ns1.mbmdev.com.	IN	A	31.125.123.123
ns2.mbmdev.com.	IN	A	31.125.123.123
localhost.mbmdev.com.	IN	A	127.0.0.1
mbmdev.com.	IN	NS	ns1.mbmdev.com.
mbmdev.com.	IN	NS	ns2.mbmdev.com.

There is the difference I don’t use virtualmin to create the records I use webmin, this stems back to the days when Virtualmin did not have the ability to create DNS records and I have stuck with it

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.