Well, the subject pretty much asks the question. I've an access control list statement that defines my internet service providers nameservers, but named spits out an error on
rndc reload. Is there something wrong with my configuration (I've reviewed it quite a few times by now), or is this just a "feature" of named?
I'd like to have it configured with an ACL, so it would be easier to read out the nameservers in a script. It's beyond my scripting skills to read the forwarders statement from *just* the options block...
/etc/named.conf
Code:
acl nameservers { xxx.xxx.x.x; xxx.xxx.x.xx; };
*snip*
options {
*snip*
forward only;
forwarders { nameservers; };
*snip*
}
/var/log/messages
Code:
May 15 19:31:38 lucifer named[2195]: loading configuration from '/etc/named.conf'
May 15 19:31:38 lcf named[2195]: /etc/named.conf:40: expected IP address near 'nameservers'
May 15 19:31:38 lcf named[2195]: reloading configuration failed: unexpected token
Regards,
Edaph