LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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
  Search this Thread
Old 06-07-2006, 12:38 PM   #1
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
named-checkzone


hi does anyone know how to use named-checkzone command i tried to use it couldnt get it to work and i went through the man pages i didnt still get it to work
 
Old 06-07-2006, 02:30 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

This is the syntx your looking for. If it is not working, there is something wrong with the program itself.

NAME
named-checkzone - zone file validity checking tool
SYNOPSIS

named-checkzone [ -d ] [ -j ] [ -q ] [ -v ] [ -c class ] zonename filename
DESCRIPTION

named-checkzone checks the syntax and integrity of a zone file. It performs the same checks as named does when loading a zone. This makes named-checkzone useful for checking zone files before configuring them into a name server.
OPTIONS

-d
Enable debugging.
-q
Quiet mode - exit code only.
-v
Print the version of the named-checkzone program and exit.
-j
When loading the zone file read the journal if it exists.
-c class
Specify the class of the zone. If not specified "IN" is assumed.
zonename
The domain name of the zone being checked.
filename
The name of the zone file.


RETURN VALUES

named-checkzone returns an exit status of 1 if errors were detected and 0 otherwise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
named ilnli Linux - Software 3 01-25-2005 02:39 PM
named -u named at startup zzero Linux - Newbie 4 03-16-2004 01:08 AM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 01:49 PM
Named pk21 Linux - Software 0 08-30-2003 01:50 PM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 06:27 PM


All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration