Custom NameServer doesnt work after migrating

I migrated to a new server and then my custom nameserver never worked, here are my settings in Virtualmin:

My old registrar said problem with IP provider, IP provider said problem with registrar… so I changed my registrar still having problem. What is wrong, how can I correct it?


You are missing ns1 and ns2 as A record… Create them with IP address of your server

With this screenshot settings Bind dns was giving error no A or AAAA records found, I deleted the name servers added them again also added A records for name servers, now Bind says I dont have NS entries… could you please give a link/screenshot to fully valid custom dns settings example for virtualmin?

service bind9 status gives below status
● bind9.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/bind9.service; enabled)
Drop-In: /run/systemd/generator/bind9.service.d
Active: active (running) since Mon 2016-08-29 22:59:40 CEST; 19s ago
Docs: man:named(8)
Process: 54321 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS)
Main PID: 12345 (named)
CGroup: /system.slice/bind9.service
└─12345 /usr/sbin/named -f -u bind

Could something be wrong with the firewall rules?

simply create a test domain and compare your settings with it. Also you could use
to check your domain for the settings being right… all the best,