Update DNS from DHCP problem

Sasa Stupar sasa at stupar.homelinux.net
Wed Aug 31 07:44:59 UTC 2005


My setup is working fine:

dhcpd.conf
-------------
option ntp-servers router.workgroup;
option domain-name "workgroup";
ddns-domainname "workgroup";
ddns-update-style interim;
max-lease-time 86400;
default-lease-time 3600;
ddns-updates on;
option subnet-mask 255.255.255.0;
authoritative;
allow unknown-clients;
ignore client-updates;
include "/etc/rndc.key";
zone workgroup. {
	primary 127.0.0.1;
	key "rndckey";
}
zone 10.168.192.in-addr.arpa. {
	primary 127.0.0.1;
	key "rndckey";
}
subnet 192.168.10.0 netmask 255.255.255.0 {
	authoritative;
	allow unknown-clients;
	option domain-name-servers 192.168.10.111;
	option broadcast-address 192.168.10.255;
	option subnet-mask 255.255.255.0;
	option routers 192.168.10.111;
	range 192.168.10.200 192.168.10.250;
}
----------------

named.conf
----------------
zone "workgroup" {
	type master;
	file "/var/named/workgroup.hosts";
	allow-update { key "rndckey"; };
	};
zone "10.168.192.in-addr.arpa" {
	type master;
	file "/var/named/192.168.10.rev";
	allow-update { key "rndckey"; };
	};
-----------------

Also check if you don't have existing journal files - delete them and check 
for permissions - named:named


--Sasa


--On 31. avgust 2005 11:06 +0400 Dusan Djordjevic <dj.dule.lists at gmail.com> 
wrote:

> On Wednesday 31 August 2005 11:01, Roger Grosswiler wrote:
>> Check your /var/log/audit/audit.log for { avc denied } perhaps, your bind
>> is not allowed to update zone files?
>
> Checked, it is not a problem. Also, there is no firewall running.
>
> Dusan







More information about the fedora-list mailing list