From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
Description of problem:
This report is relevant to the bind.spec file for bind-9.1.3-4.The %post code
if [ -f /etc/named.boot -a ! -f /etc/named.conf ];
New installations will not have the file named.boot since it is only relevant to
BIND version 4. You won't have a named.conf file in a new installation either,
so the script will fail and you won't have an /etc/named.conf file to start out
with.This package does not require named.conf to be present from another
package. This package also does not require or provide the root hints file or
sample zone files (such as one for localhost.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Please see below for commentary.
Actual Results: If /etc/named.conf and /etc/named.boot are not present, then
/etc/named.conf is not generated. When BIND then attempts to start, it will choke.
Missing /var/named zone files will also cause BIND to choke.
Expected Results: An /etc/named.conf file valid for the packaged BIND version
should be installed or the existing named.conf file should be preserved. Sample
zone files should also be installed.
I am adding BIND version 9.2.0 rather than Red Hat's 9.1.3-4 release using a
downloaded source tarball. This is the first time that BIND is installed on this
workstation. To figure out where the binaries get installed, I examined the spec
file from the Red Hat RPM distribution for bind-9.1.3-4. It contains the script
code cited above. I did a ./configure and 'make' on the 9.2.0 source tree and
then ran the script code, with modifications to remove RPM_BUILD_ROOT and the
documentation installs, starting at %install.
This is intentional.
The %post script will just convert an old named.boot file to a named.conf file if it
Since we have no way of foretelling which domains you're trying to host, creating a
"standard named.conf" would be pointless.
If you're looking for a named.conf example, install the caching-nameserver package.