dhcp and bind

Sasa Stupar sasa at stupar.homelinux.net
Sun Apr 17 06:45:06 UTC 2005


Hi!

I want to setup dhcp and bind in the way so dhcp can update bind records of 
users on the lan so they can access machines by its hostname. I have 
googled and I found some instructions but know I have the following problem:
from the syslog:
-------------------
Apr 17 08:30:04 mig29 dhcpd: Unable to add forward map from 
MASTER.workgroup to 192.168.10.249: timed out
Apr 17 08:30:04 mig29 dhcpd: DHCPREQUEST for 192.168.10.249 from 
00:0c:6e:f1:f3:48 (MASTER) via eth1
Apr 17 08:30:04 mig29 dhcpd: DHCPACK on 192.168.10.249 to 00:0c:6e:f1:f3:48 
(MASTER) via eth1
-------------------

my dhcpd.conf:
----------------
ddns-rev-domainname "10.168.192.in-addr.arpa.zone";
ddns-domainname "workgroup";
ddns-update-style interim;
max-lease-time 86400;
default-lease-time 3600;
ddns-updates on;
option ntp-servers 192.168.10.111;
option domain-name-servers 192.168.10.111;
option subnet-mask 255.255.255.0;
authoritative;
allow unknown-clients;
ignore client-updates;
option routers 192.168.10.111;
subnet 192.168.10.0 netmask 255.255.255.0 {
	range 192.168.10.200 192.168.10.250;
	}
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";
	}
-------------------

my named.conf:
-----------------
options {
	directory "/var/named";
	dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
};

include "/etc/rndc.key";

zone "." IN {
	type hint;
	file "named.ca";
};

zone "localdomain" IN {
	type master;
	file "localdomain.zone";
	allow-update { key "rndckey"; };
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { key "rndckey"; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { key "rndckey"; };
};
zone "workgroup" {
	type master;
	file "workgroup.zone";
	allow-update { key "rndckey"; };
	};

zone "xmail.homelinux.net" {
	type master;
	file "xmail.homelinux.net.hosts";
	};

zone "xmailforum.homelinux.net" {
	type master;
	file "xmailforum.homelinux.net.hosts";
	};

zone "stupar.homelinux.net" {
	type master;
	file "stupar.homelinux.net.hosts";
	};

zone "me.homelinux.net" {
	type master;
	file "me.homelinux.net.hosts";
	};

zone "afkp.homelinux.net" {
	type master;
	file "afkp.homelinux.net.hosts";
	};

zone "konik.homelinux.net" {
	type master;
	file "konik.homelinux.net.hosts";
	};

zone "malecot.homelinux.net" {
	type master;
	file "malecot.homelinux.net.hosts";
	};

zone "lists.homelinux.net" {
	type master;
	file "lists.homelinux.net.hosts";
	};

zone "posta.homelinux.net" {
	type master;
	file "posta.homelinux.net.hosts";
	};

logging {
	category update {
		default_syslog;
		default_debug;
		};
	};
zone "10.168.192.in-addr.arpa" {
	type master;
	file "10.168.192.in-addr.arpa.zone";
	allow-update { key "rndckey"; };
	};

zone "mig29" {
	type master;
	file "mig29.hosts";
	};
-----------------

my 10.168.192.in-addr.arpa.zone:
--------------
$ORIGIN .
$ttl 300
10.168.192.in-addr.arpa.	IN	SOA	10.168.192.in-addr.arpa. 
root.me.homelinux.net. (
			1110724228
			3600
			300
			604800
			3600 )
			NS	localhost.
$ORIGIN 10.168.192.in-addr.arpa.
$TTL 1800	; 30 minutes
-----------------

my workgroup.zone:
--------------
$ORIGIN .
$TTL 300	; 5 minutes
mreza	IN	SOA	localhost. root.me.homelinux.net. (
			1101242849
			3600
			300
			604800
			3600 )
			NS	localhost.
$ORIGIN mreza.
$TTL 1800	; 30 minutes
-----------------

Both named and bind runs on the same server (localhost).
What am I doing wrong here?


Regards,
Sasa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050417/5bac97f0/attachment-0001.sig>


More information about the fedora-list mailing list