LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   restored dns has a problem (https://www.linuxquestions.org/questions/linux-newbie-8/restored-dns-has-a-problem-767214/)

windstory 11-05-2009 11:20 PM

restored dns has a problem
 
I have restored centos 5.3 x86 ffrom disaster, but dns could not work.

Quote:

[root@www ~]# named-checkconf -t /var/named/chroot/var/named myserver.zone
myserver.zone:1: unknown option '$TTL'
myserver.zone:3: unknown option 'serial'
myserver.zone:4: unknown option 'Refresh'
myserver.zone:5: unknown option 'Retry'
myserver.zone:6: unknown option 'Expire'
myserver.zone:7: unknown option 'Minimum'
myserver.zone:17: unexpected token near end of file
I copied dns files same direcotires, but this problem came.
Any help would be appreciated.

kbp 11-05-2009 11:28 PM

Did you mean to do 'named-checkconf' or 'named-checkzone' ?

windstory 11-05-2009 11:44 PM

Quote:

Originally Posted by kbp (Post 3746583)
Did you mean to do 'named-checkconf' or 'named-checkzone' ?


I used "named-checkconf".

kbp 11-06-2009 12:01 AM

Then why are you referencing a zone file ? .. pls try the man page for usage

thanks

windstory 11-06-2009 01:28 AM

Quote:

Originally Posted by kbp (Post 3746616)
Then why are you referencing a zone file ? .. pls try the man page for usage

thanks

I could not connect to my dns, so I am studying.


All times are GMT -5. The time now is 10:22 AM.