Local DDNS with Bind9, DHCP3, and Ubuntu...so close!



Hi,

I think I'm pretty much there for getting local DNS to work. However, I
keep getting the following error message when trying to start bind:

rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.

Here is my dhcpd.conf:
---
ddns-updates on;
ddns-rev-domainname "weichert-local";
ddns-domainname "weichert-local";
authoritative;
allow client-updates;
allow unknown-clients;
option routers 192.168.1.1;
ddns-update-style interim;
option domain-name "weichert-local";
option domain-name-servers 192.168.1.1;

default-lease-time 600;
max-lease-time 7200;

# LAN
subnet 192.168.1.0 netmask 255.255.255.0 {
ddns-updates on;
ddns-domainname "weichert-local";
authoritative;
allow client-updates;
allow unknown-clients;
server-name "alisa.weichert-local";
range 192.168.1.2 192.168.1.254;
}

key root {
secret
axc3NDLQCJjAFJfc+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3tKGRHHaTMQ8Css4e+IRZdj5l+9n5KjWMrGKmA==;
algorithm hmac-md5;
}

zone 192.168.1.0. {
primary 192.168.1.1;
key root;
}
zone weichert-local. {
primary 192.168.1.1;
key root;
}

---

Here is my named.conf:
---

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};


include "/etc/bind/named.conf.local";
key root {
algorithm hmac-md5;
secret
"axc3NDLQCJjAFJfc+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3tKGRHHaTMQ8Css4e+IRZdj5l+9n5KjWMrGKmA==";
};
---

Finally, here is my named.conf.local:
---
zone "weichert-local" {
type master;
file "/etc/bind/weichert-local.hosts";
};
zone "0.1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/192.168.1.0.rev";
};
---

Any help would greatly be appreciated guys! Thanks!

.