Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] DHCP, Bind9 and DDNS setup
  • From: Dylan <dylan@xxxxxxxxxxx>
  • Date: Thu, 6 May 2004 15:51:42 +0100
  • Message-id: <200405061551.43422.dylan@xxxxxxxxxxx>
On Thursday 06 May 2004 15:05 pm, poeml@xxxxxxxxxxx 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

< Previous Next >
Follow Ups
References