named.conf setup under RH8.0

From: Atkinson (atkinson_at_rochester.rr.com)
Date: 10/29/03


Date: Wed, 29 Oct 2003 13:34:37 GMT

I have recently installed Red Hat 8.0 on a server and am in the process
of setting up Bind. I have a working configuration running on another
server running Red Hat 6.2 that I am using as a model. The DNS server
is set up as the master DNS for my intranet at work and a caching DNS
for my local clients for the rest of the world. My question is not
about specific Bind configuration, but rather the Red Hat 8.0 way to do
things.

In /etc/named.conf there is a warning not to manually edit the file and
to instead use /etc/named.custom for configurations that cannot be setup
using redhat-config-bind. I have played around and not been able to set
my desired configuration using the GUI redhat-config-bind.

Using manual editing, I can get things to work just fine. My problem is
that in /etc/named.custom, I need to use additional option{}; commands
that I cannot seem to get into /etc/named.conf using redhat-config-bind.
In particular I want the following.

  options {
          directory "/var/named";
          forward first;
          forwarders {
                  192.168.207.15;
                  24.92.226.13;
                  24.92.226.174;
                  24.92.226.172;
                  24.92.226.171;
                  };
          };

Since the /etc/named.conf only contains a subset of these, I have tried
to add another options{}; in /etc/named.custom, but bind doesn't start
and upon reviewing /var/log/messages, what I see is errors indicating
that bind doesn't like two option{}; statements.

If I comment out all the stuff in /etc/named.conf below the
include "/etc/named.conf"; then it works. Doesn't seem like this should
be necessary, so I must be doing something wrong.

Any suggestions?

-Landy



Relevant Pages

  • [RHSA-2002:134-12] Updated mod_ssl packages available
    ... In order to exploit this vulnerability, the Apache Web server has to be ... configured to allow overriding of configuration settings on a per-directory ... where is a list of the RPMs you wish to upgrade. ... Please note that this update is also available via Red Hat Network. ...
    (Bugtraq)
  • Trying to configure BIND under RH8.0
    ... I have recently installed Red Hat 8.0 on a server and am in the process ... of setting up Bind. ... I have a working configuration running on another ...
    (linux.redhat.misc)
  • Trying to configure bind under RH8.0
    ... I have recently installed Red Hat 8.0 on a server and am in the process ... of setting up Bind. ... I have a working configuration running on another ...
    (linux.redhat.install)
  • Re: Bind on Fedora.
    ... nslookup should have returned 2 lines that indicate which server and port ... Did those 2 lines in your output indicate the expected server? ... force it to query the fedora server, assuming that bind is actually ... exists a configuration problem that is probably detailed in the logfiles; ...
    (linux.redhat)
  • [UNIX] Hardening the BIND DNS Server
    ... Hardening the BIND DNS Server ... Your Domain Name Service is the road sign to your systems on the Internet. ...
    (Securiteam)