LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-27-2009, 10:05 AM   #1
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Rep: Reputation: 18
CentOS 5.2 Bind 9 ddns configuration errors


I am configuring Bind 9 to do DDNS on a small group of servers. I am using webmin to start the server and I get the following error.

Failed to start BIND : Starting named: Error in named configuration: /etc/named.conf:25: unknown option 'zone' /etc/named.conf:30: unknown option 'zone' /etc/named.conf:38: unknown option 'zone' /etc/named.conf:46: '}' expected near end of file [FAILED]

this is my named.conf

acl dynamicnet { 192.168.1/24; };

key dynamickey {
algorithm hmac-md5;
secret "not shown";
};

options {
directory "/var/named/";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
version "protect yourself";
listen-on { 192.168.1.1; 127.0.0.1; };
};

controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; 192.168.1.1; };
inet 192.168.1.1 port 953 allow { 127.0.0.1; 192.168.1.1; };
};

zone "cluster.local" {
type hint;
file "dynamicdomain.db";
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "dynamic/dynamicdomain.rev";
};

zone "cluster.local"
{
notify yes;
type master;
allow-update { key dynamickey; };
file "dynamic/dynamicdomain.db";
};

zone "1.168.192.in-addr.arpa"
{
notify yes;
type master;
allow-update { key dynamickey; };
file "dynamic/dynamicdomain.rev";
};

any help would be greatly appreciated.

Thank you
 
Old 01-27-2009, 04:36 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Change
Quote:
zone "cluster.local" {
type hint;
file "dynamicdomain.db";
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "dynamic/dynamicdomain.rev";
};
to
Code:
zone "cluster.local" {
type hint;
file "dynamicdomain.db";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "dynamic/dynamicdomain.rev";
};
 
Old 01-28-2009, 04:03 PM   #3
chackercon
Member
 
Registered: Jan 2008
Location: Oklahoma
Distribution: Slackware, QNX, Centos 5.2, Dream Linux, BackTrack, Fedora
Posts: 53

Original Poster
Rep: Reputation: 18
That worked for the zone issue I was having now I am looking at problems the .rev and db files that where created to support these zones. I guess I am going to have to go buy the book so that I can get this to work. Thanks for all the help.
 
  


Reply



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
bind and DHCP - DDNS kudos Linux - Networking 7 06-15-2008 04:12 AM
DDNS with BIND pcmilhouse Linux - Networking 5 09-19-2007 11:03 PM
DDNS with BIND and ISC-DHCPD joel112 Linux - Software 1 05-25-2006 11:06 AM
DDNS Bind 9.0 / DHCP - mule Linux - Networking 2 01-06-2006 11:55 PM
Bind/DDNS problem locutus233 Linux - Networking 12 04-26-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:48 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
Open Source Consulting | Domain Registration