I'm new to Cloud servers and CentOS so bear with me :)
I'm running a CentOS 6 server on Rackspace Cloud. I've installed Virtualmin 3.89 (GPL version) and most of it seems to be configured and running ok.
When I add a new virtual server i get the following error:
Adding new DNS zone .... BIND DNS domain failed! : Failed to open /var/named/chroot/var/named/[my FQDN].hosts for writing : Bad file descriptor at /usr/libexec/webmin/web-lib-funcs.pl line 1360.
If I look for /var/named/chroot/var the path doesn't exist.
Now.. if I view /var/named/chroot/etc/named.conf it has this in it:
zone "[my FQDN]" {
type master;
file "/var/named/[my FQDN].hosts";
allow-transfer {
127.0.0.1;
localnets;
};
};
So... it looks to me like the script that adds the hosts file is trying to add it in wrong place?
Any thoughts?
Further Info: Comment suggested that I might not have bind-chroot installed which I didn't! That is now installed. When I add a virtual server now, the 'Adding new DNS zone' message returns 'done' now the following files exist:
/var/named/benhutchings.com.hosts
/var/named/chroot/var/named/benhutchings.com.hosts
Both have same zone data in.
Virtualmin says that BIND is not started. When I try to start it via the interface the page just reloads. If I do /etc/init.d/named stop it get [ok] and then again if start it again I get [ok].
Bit lost :( Also... not sure why I got the -1 rep here, is it just because I'm a *nix beginner?
More info again:
Here is a screenie of the Virtualmin interface showing unstarted BIND DNS Server:

However... if I try and dig an external domain, I get results.
/var/log/messagefor any information related to named. – Zypher♦ Feb 1 at 17:06