dhcp and bind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpwFgZW7P4um.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux