Re: [SLE] DHCP, Bind9 and DDNS setup
From: David Rankin (drankin_at_cox-internet.com)
Date: 05/06/04
- Previous message: Basil Chupin: "Re: [SLE] nvidia driver 5336 and k_athlon_2.4.21-215 install problem"
- In reply to: Dylan: "Re: [SLE] DHCP, Bind9 and DDNS setup"
- Next in thread: poeml_at_cmdline.net: "Re: [SLE] DHCP, Bind9 and DDNS setup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Suse Linux" <suse-linux-e@suse.com> Date: Thu, 6 May 2004 10:53:38 -0500
Here is a working copy of dhcpd.conf and named.conf
skyline:/var/lib # cat /etc/dhcpd.conf
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
include "/etc/named.keys";
subnet 192.168.6.0 netmask 255.255.255.0 {
option routers 192.168.6.13;
option subnet-mask 255.255.255.0;
option domain-name "3111skyline.com";
option domain-name-servers 192.168.6.14;
option netbios-name-servers 192.168.6.14;
ddns-domainname "3111skyline.com";
ddns-rev-domainname "6.168.192.in-addr.arpa";
range dynamic-bootp 192.168.6.80 192.168.6.100;
default-lease-time 21600;
max-lease-time 172800;
# Adding zone information
zone 3111skyline.com. {primary 127.0.0.1; key DHCP_UPDATER; }
zone 6.168.192.in-addr.arpa. { primary 127.0.0.1; key
DHCP_UPDATER; }
skyline:/var/lib # cat /etc/named.conf
include "/etc/named.keys";
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
options {
directory "/var/lib/named";
forward first;
forwarders { 66.76.2.130; 208.180.1.69;};
// query-source address * port 53;
};
zone "." {
type hint;
file "root.hint";
};
zone "localhost" {
type master;
file "localhost";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
};
zone "3111skyline.com" {
type master;
file "dyn/3111skyline.com";
allow-update{ key DHCP_UPDATER; };
};
zone "6.168.192.in-addr.arpa" {
type master;
file "dyn/192.168.6";
allow-update{ key DHCP_UPDATER; };
};
-- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- ----- Original Message ----- From: "Dylan" <dylan@dylan.me.uk> To: <suse-linux-e@suse.com> Sent: Thursday, May 06, 2004 9:51 AM Subject: Re: [SLE] DHCP, Bind9 and DDNS setup On Thursday 06 May 2004 15:05 pm, poeml@cmdline.net wrote: > On Wed, May 05, 2004 at 07:15:01PM +0100, Dylan wrote: > > Hi All, > > > > [SuSE9.0 Bind-9.2.2-31 dhcp-server-3.0.1rc12-13] > > > > I'm trying to set up dhcpd and bind to provide dynamic dns here at > > home. DHCP is working fine wrt assigning IP addresses to a test > > box, and dns is likewise responding correctly to digs for the > > single defined entry. > > [...] > > > /etc/named.conf root:named rw-r----- > > /etc/named.keys root:named rw-r--r-- > > That's wrong: named.keys is the one that must not be world readable, > not named.conf! If named.keys is not workd readable then dhcpd cannot read it since it is set by default to run as nobody:nogroup. > > > named:named rw-rw-r-- > > > > directory /var/lib/named/dyn had named:named drwxr-xr-x > > > > Both chroot jails have a copy of /etc/named.keys > > > > I have uploded dhcpd.conf, named.conf, dylan.me.uk.zone and > > 192.168.0.zone to www.dylan.me.uk > > I see only dhcpd.conf and named.conf, and can't access the latter. > You should not add the key to dhcpd.conf itself -- instead include > the file /etc/named.keys. That's because I have changed the uploaded files as a result of other lines of inquiry. > Read the DDNS howto again. I have, several times. Dylan > > Peter -- "I see your Schwartz is as big as mine" -Dark Helmet -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Basil Chupin: "Re: [SLE] nvidia driver 5336 and k_athlon_2.4.21-215 install problem"
- In reply to: Dylan: "Re: [SLE] DHCP, Bind9 and DDNS setup"
- Next in thread: poeml_at_cmdline.net: "Re: [SLE] DHCP, Bind9 and DDNS setup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|