named-checkconf has errors
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. Code:
$TTL 86400 Code:
[root@localhost dynamicdns_setup]# named-checkconf /var/named/chroot/var/named/myserver.dyndns.org.zone I've edited "rndckey" to "rndc-key" at "/etc/named.conf", But "service named start" still has an error message. Quote:
Thanks in advance. |
Hi,
named-checkconf is used to check named.conf for errors. If you want to check your zone file, you should use named-checkzone: Code:
named-checkconf myserver.dyndns.org /var/named/chroot/var/named/myserver.dyndns.org.zone Quote:
Regards |
bathory/
Thanks for your kind reply. The result is here: Quote:
|
Oups sorry for that...
I said you need named-checkzone, but in the command I used named-checkconf. Here is the correct one Code:
named-checkzone myserver.dyndns.org /var/named/chroot/var/named/myserver.dyndns.org.zone Code:
named-checkzone -t var/named/chroot myserver.dyndns.org /var/named/myserver.dyndns.org.zone |
The results are here:
Quote:
|
And the "0.168.192.in-addr.arpa.zone" file is:
Quote:
|
Quote:
Code:
... Quote:
Code:
... |
Thanks. But "0.168.192.in-addr.arpa.zone" file has still error.
Quote:
Quote:
|
I changed "server" to "server.", then I got this result:
Quote:
|
Quote:
You need this: Code:
$TTL 86400 |
bathory/ Thanks a lot!
|
All times are GMT -5. The time now is 05:03 AM. |