LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 11-06-2009, 12:20 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 143
Thanked: 0
restored dns has a problem


[Log in to get rid of this advertisement]
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.
windows_98_nt_2000 windstory is online now     Reply With Quote
Old 11-06-2009, 12:28 AM   #2
kbp
Member
 
Registered: Aug 2009
Posts: 484
Thanked: 44
Did you mean to do 'named-checkconf' or 'named-checkzone' ?
linuxfedora kbp is offline     Reply With Quote


Old 11-06-2009, 12:44 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 143
Thanked: 0

Original Poster
Quote:
Originally Posted by kbp View Post
Did you mean to do 'named-checkconf' or 'named-checkzone' ?

I used "named-checkconf".
windows_98_nt_2000 windstory is online now     Reply With Quote


Old 11-06-2009, 01:01 AM   #4
kbp
Member
 
Registered: Aug 2009
Posts: 484
Thanked: 44
Then why are you referencing a zone file ? .. pls try the man page for usage

thanks
linuxfedora kbp is offline     Reply With Quote


Old 11-06-2009, 02:28 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 143
Thanked: 0

Original Poster
Quote:
Originally Posted by kbp View Post
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.
windows_98_nt_2000 windstory is online now     Reply With Quote



Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] restored dns error at centos 5.3 windstory Linux - Newbie 3 10-21-2009 08:45 PM
Restored Mandriva FredGSanford Mandriva 18 04-25-2009 03:22 PM
Can a crashed server be restored? Frankc22 Linux - Security 12 04-13-2007 06:22 PM
fglrx config problem... x will not start even after XF86Config restored burdman Linux - Newbie 4 12-10-2003 05:55 PM
Sound restored--at least one time jonr LinuxQuestions.org Member Success Stories 0 05-18-2003 05:00 PM


All times are GMT -5. The time now is 10:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration