On Wed, 10 Apr 2002, Edward Dekkers wrote:

> >  The trick you're looking for is the "allow-update" option for your
> > local zone in the /etc/named.conf file.  It's disabled by default.
> >
> >  You create a zone for your local network, and include
> >
> > allow-update { 192.168.0.0/16; };
> 
> I actually did get that far (in my post a week or so back I mentioned that).
> 
> dhcpd even goes so far as to TRY to update the DNS according to the log. It
> times out.

 Which log ... ?

 If named is denying the update, that should show up in syslog, and
if you can see that it might give you an idea what's up.

> Could someone please give me a quick cut-out of a WORKING local zone section
> on a caching DNS server? Maybe I've mis-typed something or I don't
> understand the local zone part too well. If I could compare I may be able to
> resolve it and help someone in the future?

 I can't unfortunately, although I did that not long ago (said setup
was on the dead harddrive I can see from here, lying at the back of
my desk waiting to be thrown away :o)

 Start by copying the "localhost" zone, and make sure to get at least
one static address assignment working within the zone before trying to
mess with dynamic updates.

 If it's any consolation, it took me a couple of nights to get it all
to work properly, and I was working with DNS every day at work :o)

> in /var/named I have localhost.zone and localnet files (from previous
> attempts at getting this right). Also a named.ca and named.local which I did
> not create but I assume take care of the master domain stuff. All I did
> initially before all this is put in a forwarder to my ISP's DNS server.

 Basically, make sure that:

 1) You have a zone specific to your local network.
 2) Any machines using that zone are configure to lookup names in
   that zone *first*.
 3) Likewise, they should *only* have your local (caching) server
   listed in /etc/resolv.conf.
 4) Check that you're not firewalling out connections to the DNS
   server.  This means port 53 must be open.
 5) Make sure the local zone lists only your local server as NS,
   and has a "glue" record (an A record for the server's name).

> Any bet I'm not doing the local zone stuff right.
> 
> Regards,
> Edward.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to