Can't manage DNS Records: "No zone file found for ..."

Hi, I’m using now Webmin 1.680 and Virtualmin 4.06.gpl GPL.
Today I got the message “No zone file found for …(domain name)” at Server Settings ->DNS Records page. Previously I could edit all zone files.

named version is as follows.
BIND 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1

All zone files are now located at /var/named/chroot/etc.

Anypne please let me know how to solve.
Thanks,

Does the zone file for the zone you’re trying to edit exist in the proper chroot environment directory?

Since you said your zone files are “now” located in the chrooted folder, you might have to tell Webmin’s BIND module the new location for those files.

Thank you for your reply.
I checked the following page and got the message:
Webmin -> Servers -> BIND DNS Server
The primary configuration file for BIND /var/named/chroot/var/named/chroot/var/named/named.conf does not exist, or is not valid. Create it?

named.conf exists /var/named/chroot/var/named/named.conf.
I didn’t make any change…why does this happen?
Please tell me how to recover the settings.
Thanks,

I’ve never used BIND in a chroot environment, but I suppose it should suffice to fix all paths in the module’s config, removing the excess “/var/named/chroot” or similar parts.

Thank you for your suggestion.
I changed the settings as follows,
Chroot directory to run BIND under … “/var/named/chroot” -> set to “none”
Is named.conf under chroot directory? … Yes (unchanged)
I don’t know why because I didn’t make any change at all, anyway BIND configuration worked again.