Today I did a yum update and DA broke - I checked the services list and named was failing a load.
The error it was giving was
I then checked in /var/named and localhost.zone and named.local were missing
After reading a post on here it appears that since it is a non caching nameserver (I didn't have my server in resolv.conf I have only the two opendns servers) that it was ok to not have those there
So my question is - I commeted out named.conf by doing
Is it ok to do that? I'm somewhat puzzled why yum update would have broken that since it has the proper excludes named* for da stuff
My server is running fine, named started fine with the above commenting out, but I'd still like to figure out why this happened and if it will affect me in the future
The error it was giving was
Code:
Starting named:
Error in named configuration:
zone localhost/IN: loading master file localhost.zone: file not found
_default/localhost/IN: file not found
zone 0.0.127.in-addr.arpa/IN: loading master file named.local: file not found
_default/0.0.127.in-addr.arpa/IN: file not found
I then checked in /var/named and localhost.zone and named.local were missing
After reading a post on here it appears that since it is a non caching nameserver (I didn't have my server in resolv.conf I have only the two opendns servers) that it was ok to not have those there
So my question is - I commeted out named.conf by doing
Code:
/*zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
*/
Is it ok to do that? I'm somewhat puzzled why yum update would have broken that since it has the proper excludes named* for da stuff
My server is running fine, named started fine with the above commenting out, but I'd still like to figure out why this happened and if it will affect me in the future