Error with dynamic update

Flex Banana flex.banana at bluewin.ch
Thu May 5 06:32:44 UTC 2011


On May 4, 2011, at 4:58 PM, Simon Hobson wrote:

> Flex Banana wrote:
> 
>> Anyone can help me understand what is the problem ?
> 
> Not a hope without seeing the config ! I assume you are still attempting to get your multiple zones system working.
Exact, 
here a small part of all configuration files:

# /etc/dhcpd.conf

include "/etc/named.d/vl005000";
include "/etc/dhcpd.subnet-eth0";
include "/etc/dhcpd.subnet-eth1";
include "/etc/dhcpd.subnet-eth2";
include "/etc/dhcpd.static";

authoritative;
server-name vl005000;
option ntp-servers vl005000.lausanne.edu-vd;
default-lease-time 3600;
deny client-updates;
ddns-update-style interim;
ddns-updates on;
ddns-hostname = lcase (option host-name);

if substring (lcase (option dhcp-client-identifier), 1, 8) = "lausanne"
{
option domain-name "lausanne.edu-vd";
option domain-search "lausanne.edu-vd";
}
elsif substring (lcase (option dhcp-client-identifier), 1, 5) = "aigle"
{
option domain-name "aigle.alpes.edu-vd";
option domain-search "aigle.alpes.edu-vd lausanne.edu-vd";
}
elsif substring (lcase (option dhcp-client-identifier), 1, 3) = "bex"
{
option domain-name "bex.alpes.edu-vd";
option domain-search "bex.alpes.edu-vd lausanne.edu-vd";
}
else
{
option domain-search "domaine.edu-vd";
}


# /etc/dhcpd.subnet-eth0

subnet 10.28.25.0 netmask 255.255.255.0 {
option routers 10.28.25.1;
range 10.28.25.151 10.28.25.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.28.25.50;
zone 25.28.10.in-addr.arpa. { primary 10.28.25.50; key vl005000; }
zone lausanne.edu-vd. { primary 10.28.25.50; key vl005000; }
zone aigle.alpes.edu-vd. { primary 10.28.25.50; key vl005000; }
zone bex.alpes.edu-vd. { primary 10.28.25.50; key vl005000; }
}


# /etc/dhcpd.subnet-eth1

subnet 10.28.25.0 netmask 255.255.255.0 {
option routers 10.28.25.1;
range 10.28.25.151 10.28.25.254;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.28.25.50;
zone 25.28.10.in-addr.arpa. { primary 10.28.25.50; key vl005000; }
zone lausanne.edu-vd. { primary 10.28.25.50; key vl005000; }
zone aigle.alpes.edu-vd. { primary 10.28.25.50; key vl005000; }
zone bex.alpes.edu-vd. { primary 10.28.25.50; key vl005000; }
}


# /etc/named.conf

view "ETH0" {
	match-clients { 10.28.0.0/15; };

zone "." in {
	type hint;
	file "root.hint";
	};
zone "localhost" in {
	type master;
	file "localhost.zone";
	};
zone "0.0.127.in-addr.arpa" in {
	type master;
	file "127.0.0.zone";
	};

zone "domaine.edu-vd" in {
	allow-transfer { none; };
	file "dyn/domaine.edu-vd_10.28";
	type master;
	};
zone "lausanne.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/lausanne.edu-vd_10.28";
	type master;
	};
zone "aigle.alpes.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/aigle.alpes.edu-vd_10.28";
	type master;
	};
zone "bex.alpes.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/bex.alpes.edu-vd_10.28";
	type master;
	};
zone "25.28.10.in-addr.arpa" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/25.28.10.in-addr.arpa";
	type master;
	};
};

view "ETH1" {
	match-clients { 10.88.0.0/14; };

zone "." in {
	type hint;
	file "root.hint";
	};
zone "localhost" in {
	type master;
	file "localhost.zone";
	};
zone "0.0.127.in-addr.arpa" in {
	type master;
	file "127.0.0.zone";
	};

zone "domaine.edu-vd" in {
	allow-transfer { none; };
	file "dyn/domaine.edu-vd_10.88";
	type master;
	};
zone "lausanne.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/lausanne.edu-vd_10.88";
	type master;
	};
zone "aigle.alpes.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/aigle.alpes.edu-vd_10.88";
	type master;
	};
zone "bex.alpes.edu-vd" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/bex.alpes.edu-vd_10.88";
	type master;
	};
zone "94.88.10.in-addr.arpa" in {
	allow-update { key vl005000; };
	allow-transfer { none; };
	file "dyn/94.88.10.in-addr.arpa";
	type master;
	};
};


# /etc/hosts

127.0.0.1       localhost
127.0.0.2	vl005000.lausanne.edu-vd vl005000
10.28.25.50     vl005000.lausanne.edu-vd vl005000
10.88.94.50     vl005000.lausanne.edu-vd vl005000
10.224.253.20   vl005000.lausanne.edu-vd vl005000


Thank you very much for your help
Banana



> 
> -- 
> Simon Hobson
> 
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users




More information about the dhcp-users mailing list