I was trying to configure a named server on a Fedora 9 distribution, but when I try to run the server it outputs the following error:
loading from path_to_zone_file; no such file or directory _default/my_domain_name.com/IN
I tried to search around for the cause of this problem, but I was not able to find anything.
The solution turned out to be quite simple. Named looks within it’s default directory for its zone files, so it tries to find default_named_dir/path_to_zone_file. So you should just copy your zone files to your default named directory and give them the required permissions.
In this particular Fedora 9 installation the default named directory was “/var/named/chroot/var/named/”.