Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-19-2011, 07:09 AM
|
#1
|
Member
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91
Rep:
|
Errors starting Named
Hi
Im running Bind 8 on a old Redhat 7.2 sytem. I havnt had it going in awhile but know when i did DNS (primary) was working for my domain name
Now when i am starting or at least trying to start it, it fails. Logfile indicates this
Jan 19 22:30:32 Echelon named[2208]: /etc/named.conf:24: unknown option 'zone'
Jan 19 22:30:32 Echelon named[2208]: /etc/named.conf:39: unknown option 'logging'
Jan 19 22:30:32 Echelon named[2208]: /etc/named.conf:62: unknown option 'zone'
Jan 19 22:30:32 Echelon named[2208]: loading configuration: failure
Jan 19 22:30:32 Echelon named[2208]: exiting (due to fatal error)
Now my named.conf file is formatted as follows. Ill just show line 24
options {
directory "/var/named";
recursion yes; // the default
zone "eziekiel.com" {
allow-query { any;
};
Does anything obvious stick out with how this is set
Cheers
Andrew
|
|
|
01-19-2011, 07:16 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Erm, yes it's just totally invalid. the zone defintion is seperate to the options block, which has not been closed and it clearly very incomplete.
Nothing to do with Networking. Moved to Linux - Server.
|
|
|
01-19-2011, 07:41 AM
|
#3
|
Member
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91
Original Poster
Rep:
|
Can u point me to information on how to setup a named.conf file
Strange how this was working 6 months ago when machine was last on
Here is another line that is now saying is wrong
};
logging {
channel my_syslog {
file "/var/log/named.log" versions 3 size 5m;
severity debug ;
Line 39 unknown option
|
|
|
01-19-2011, 08:22 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
|
|
|
All times are GMT -5. The time now is 12:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|