Networking Forums

Networking Forums > Computer Networking > Linux Networking > Local DDNS with Bind9, DHCP3, and Ubuntu...so close!

Reply
Thread Tools Display Modes

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

 
 
Cyphos
Guest
Posts: n/a

 
      12-26-2005, 04:31 PM
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+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3t KGRHHaTMQ8Css4e+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+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3 tKGRHHaTMQ8Css4e+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!

 
Reply With Quote
 
 
 
 
Rage
Guest
Posts: n/a

 
      01-08-2006, 12:51 PM
Cyphos wrote:
> 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+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3t KGRHHaTMQ8Css4e+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+mlfFm0QLlamHhjcz7uAj4BcUPqa9lvY3 tKGRHHaTMQ8Css4e+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!
>


Use dnsmasq.

Rage

--
FREE FPS DEATHMATCH:
http://www.nexuiz.com
PLAY IT FREE!
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp3-server (ubuntu) over non-default interface only Damon Getsman Linux Networking 1 05-21-2008 08:10 AM
resolv.conf, bind9 and unresolvable local address peter pilsl Linux Networking 7 03-29-2008 08:52 AM
ISC dhcp & bind9 ddns problem Cousin Scuzzy Linux Networking 0 03-06-2006 11:02 PM
DDNS BIND9 on RedHat =?ISO-8859-1?Q?Stefan_M=FCller?= Linux Networking 1 11-23-2004 12:21 PM
dhcp3-bootp replacement Robert Becker Linux Networking 0 08-18-2003 11:07 PM



1 2 3 4 5 6 7 8 9 10 11