My box is scientific lunux 6.1 86, and I restored previous running bind configuration. However I could not start named.
This is my "myserver.dyndns.org.zone" file which I used previous version.
@ IN SOA myserver.dyndns.org test.dyndns.org (
IN NS myserver.dyndns.org
IN A 192.168.0.1
server IN A 192.168.0.1
And this the resilt of "named-checkconf".
[root@localhost dynamicdns_setup]# named-checkconf /var/named/chroot/var/named/myserver.dyndns.org.zone
/var/named/chroot/var/named/myserver.dyndns.org.zone:1: unknown option '$TTL'
/var/named/chroot/var/named/myserver.dyndns.org.zone:4: unknown option '28800'
/var/named/chroot/var/named/myserver.dyndns.org.zone:5: unknown option '7200'
/var/named/chroot/var/named/myserver.dyndns.org.zone:6: unknown option '604800'
/var/named/chroot/var/named/myserver.dyndns.org.zone:7: unknown option '86400'
/var/named/chroot/var/named/myserver.dyndns.org.zone:8: unknown option ')'
/var/named/chroot/var/named/myserver.dyndns.org.zone:11: unexpected token near end of file
Also I have another problem.
I've edited "rndckey" to "rndc-key" at "/etc/named.conf", But "service named start" still has an error message.
service named start
Error in named configuration:
/etc/named.conf:7: unknown key 'rndckey'
Please let me know how to resolve these errors.
Thanks in advance.