LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-15-2009, 05:08 AM   #1
gnoovy
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Dynamic DNS and DHCP on Fedora ore 9 / Centos 5.2


hello,

i would like to configure ddns over dhcp on a fedora core 9 or centos 5.2server. So I'm using the rndc.key under /etc to update the dns-zones over dhcp. The reverse-zone-updating is worked correctly but for the forward-zone-update comes the message in /var/log/messages: " client <ip-adress>#1121: update 'linuxnet.local/IN' denied. I don't know why. Here is my dhcp.conf, named.conf and my zone-files: I hope anyone can help me ;-)

Code:
include "/etc/rndc.key";
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; 192.168.178.250; } keys { "rndckey"; };
};

options {
	directory "/etc";
	pid-file "/var/run/named/named.pid";
//	forwarders { 192.168.178.254; };
	};


zone "linuxnet.local" {
	type master;
	file "/var/named/linuxnet.local.hosts";
        allow-update { key "rndckey"; 192.168.178.250; };
	};
zone "178.168.192.in-addr.arpa" {
	type master;
	file "/var/named/192.168.178.rev";
        allow-update { key "rndckey"; 192.168.178.250; };
	};
Code:
$ORIGIN .
$ttl 38400
linuxnet.local.	IN	SOA	centos-server.linuxnet.local. root.linuxnet.local. (
			1234634931
			10800
			3600
			604800
			38400 )
	                NS  centos-server.linuxnet.local.
$ORIGIN linuxnet.local.
centos-server.linuxnet.local.	IN	A	192.168.178.250
Code:
$ORIGIN .
$TTL 38400	; 10 hours 40 minutes
178.168.192.in-addr.arpa IN SOA	centos-server.linuxnet.local. root.linuxnet.local. (
				1234635042 ; serial
				10800      ; refresh (3 hours)
				3600       ; retry (1 hour)
				604800     ; expire (1 week)
				38400      ; minimum (10 hours 40 minutes)
				)
			NS	centos-server.linuxnet.local.
$ORIGIN 178.168.192.in-addr.arpa.
250			PTR	centos-server.linuxnet.local.
$TTL 21600	; 6 hours
Code:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  
#
ddns-update-style interim;
ddns-updates on;
allow client-updates;
allow unknown-clients;
include "/etc/rndc.key";

subnet 192.168.178.0 netmask 255.255.255.0 {
	option domain-name-servers 192.168.178.250;
	option domain-name "linuxnet.local";
        ddns-rev-domainname "in-addr.arpa";
	option routers 192.168.178.254;
	authoritative;
	ddns-domainname "linuxnet.local";
	range 192.168.178.30 192.168.178.40;
	}
zone linuxnet.local. {
	primary 192.168.178.250;
	key rndckey;
	}
zone 178.168.192.in-addr.arpa. {
	primary 192.168.178.250;
	key rndckey;
	}

Last edited by gnoovy; 02-15-2009 at 05:09 AM.
 
  


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
Dynamic DNS for DHCP neovox Linux - Networking 1 10-13-2015 11:36 AM
Dynamic DNS + DHCP. ElMoRsA Linux - Software 5 12-02-2010 06:37 PM
dynamic DNS DHCP droguin Linux - Networking 0 05-27-2004 10:47 AM
DHCP with Dynamic DNS mmontanaro Linux - Newbie 1 01-23-2004 03:04 PM
DHCP with Dynamic DNS mmontanaro Linux - Networking 2 12-23-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:28 PM.

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