HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   BIND9 Setup Error? (http://www.howtoforge.com/forums/showthread.php?t=29589)

n74jw 18th December 2008 03:38

BIND9 Setup Error?
 
Hello,

I tried following this tutorial;

(http://howtoforge.com/two_in_one_dns_bind9_views)

I was able to get all of the way through it, but after the DNS service fails to start. The syslog indicates a configuration of some sort, but I do not know where. I have revisited all of the config files and they are as the should be.

I used Ubuntu 8.10 for the server, according to the Perfect Setup for Ubuntu 8.10 Server. The DNS service is 'chrooted' in it's implementation. Could that be the problem?

The server has only one NIC with a private IP address. Syslog excerpt:

Dec 17 20:30:02 retro CRON[9432]: Sigfile not found
Dec 17 20:36:10 retro named[9531]: starting BIND 9.5.0-P2 -u bind -t /var/lib/named
Dec 17 20:36:10 retro named[9531]: found 1 CPU, using 1 worker thread
Dec 17 20:36:10 retro named[9531]: loading configuration from '/etc/bind/named.conf'
Dec 17 20:36:10 retro named[9531]: /etc/bind/named.conf:12: when using 'view' statements, all zones must be in views
Dec 17 20:36:10 retro named[9531]: loading configuration: failure
Dec 17 20:36:10 retro named[9531]: exiting (due to fatal error)

Any suggestions?

Thanks

falko 18th December 2008 14:13

What's in /etc/bind/named.conf?

n74jw 18th December 2008 17:04

Hello,

Thanks for the quick response!

named.conf ================================================

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

================================================== ====

The file is "Stock", unmodofied.

n74jw 18th December 2008 20:30

I have tried placing all zones into views and still get the same errors.

falko 19th December 2008 18:06

And what's in /var/lib/named/etc/bind/named.conf?


All times are GMT +2. The time now is 10:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.