ddns-updates on;
ddns-update-style interim;
ddns-rev-domainname "in-addr.arpa.";
update-static-leases on;
authoritative;
allow client-updates;
key rndc-key { algorithm hmac-md5; secret "ZxNpvvxscfZfkpoSu4H/ug==";}
allow unknown-clients;
use-host-decl-names on;
default-lease-time 1814400; #21 days
max-lease-time 1814400; #21 days
log-facility local7;

# home.net DNS zones:
zone home.net. {
	primary ns.home.net;
	key rndc-key;
}

zone 1.168.192.in-addr.arpa. {
	primary ns.home.net;
	key rndc-key;
}

# Binding LAN scope
subnet 192.168.1.0 netmask 255.255.255.0 {
	range 192.168.1.50 192.168.1.200;
	option subnet-mask 255.255.255.0;
	option routers 192.168.1.1;
	option domain-name-servers 192.168.1.10;
	option domain-name "home.net";
	ddns-domainname "home.net.";
	ddns-rev-domainname "in.addr.arpa.";
}

# the HOME.NET group
group {
	host cryspc.home.net {
		hardware ethernet f4:6d:04:98:fc:32;
		fixed-address 192.168.1.50;
		ddns-hostname "cryspc";
		ddns-domain-name = "home.net";
		option host-name "cryspc";
		option domain-name "home.net";
}

	host cryslaptop.home.net {
		hardware ethernet 00:1F:E1:1D:73:D3;
		fixed-address 192.168.1.51;
		ddns-hostname "cryslaptop";
		ddns-domain-name = "home.net";
		option host-name "cryslaptop";
		option domain-name "home.net";
}

	host SF81.home.net {
		hardware ethernet 08:11:96:98:66:C8;
		fixed-address 192.168.1.52;
		ddns-hostname "SF81";
		ddns-domain-name = "home.net";
		option host-name "SF81";
		option domain-name "home.net";
}

	host workphone.home.net {
		hardware ethernet 14:7d:c5:01:df:8c;
		fixed-address 192.168.1.53;
		ddns-hostname "workphone";
		ddns-domain-name = "home.net";
		option host-name "workphone";
		option domain-name "home.net";
}

}
﻿
