Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2009 02:36:19 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        dave.mehler@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: issue with dhcp and dns
Message-ID:  <4A2C5D03.9050909@locolomo.org>
In-Reply-To: <9AE9476A24004CDC9715B8E27E401AFD@hades>
References:  <9AE9476A24004CDC9715B8E27E401AFD@hades>

next in thread | previous in thread | raw e-mail | index | archive | help
Dave wrote:
> 	I'm trying to get dhcp and dns going ddns on FreeBSD 7.2. In my
> dhcpd.leases file i see the forward and reverse information given on the
> lease. A host fqdn and a host IP address both return correct dns information
> on this host. My issue is if i check the forward and reverse zone files i do
> not see records for the new host. I do see two .jnl files. In
> /var/log/messages i do see the error about the working directory not being
> writable, other than that that is it, named indicates it is running. I'm
> wondering if it takes a while to update the records?

I have just set up ddns this week, to correctly update the records, bind
will update the zone files, if these are not writable it fails. I don't
know the role of the jnl files.

I created a directory dynamic/ with owner bind:bind for dynamically
updated zone files. I found it a  good idea to create separate zones
for the dynamic dns and static dns. For example I have for dynamic dns

dynamic/1-16-172-dyn.example.com
dynamic/1.16.172.in-addr.arpa

and for static dns

master/example.com
master/0.16.172.in-addr.arpa

You must create empty zone files for the dynamic dns zones just
including the SOA record.

If this doesn't help, post the log entry from your messages, and try
also running named in foreground to see what happens.

BR, Erik

-- 
Erik Nørgaard
Ph: +34.666334818/+34.915211157                  http://www.locolomo.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2C5D03.9050909>