Where Is the New Default BIND Config After an RPM Update?

XK0-005 By islever Editorial Last updated

Short answer

A /etc/named.conf.rpmnew

Question

An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should the administrator review?
  1. /etc/named.conf.rpmnew Correct Answer
  2. /etc/named.conf.rpmsave
  3. /etc/named.conf
  4. /etc/bind/bind.conf

Key Takeaways

The exam tests whether you know that .rpmnew contains the newly shipped default config, not /etc/named.conf, which is the live config and may still hold old administrator changes.

For the CompTIA Linux+ XK0-005 exam, this question checks RPM configuration file handling. The community consensus is that after a BIND update, the new default configuration is stored in /etc/named.conf.rpmnew, while /etc/named.conf remains the active, possibly customized file.

Common mistake: Choosing C (/etc/named.conf) because it is the standard BIND configuration file. However, after an RPM update, /etc/named.conf is usually the existing active configuration, not necessarily the fresh default packaged with the new version.

Expert Analysis

Why the Answer Is Correct

When RPM updates a package and the original configuration file was modified, the new default configuration is saved with a .rpmnew extension, leaving the administrator's customized /etc/named.conf intact. Therefore, to review the default configuration that shipped with the updated BIND package, the administrator should look at /etc/named.conf.rpmnew. This behavior is precisely what comment 1 explains: examining .rpmnew shows the new defaults, and you can compare it with /etc/named.conf to identify changes.

Why the Other Options Are Wrong

B (/etc/named.conf.rpmsave) is often a backup of the old configuration that was replaced during the update, not the new default. C (/etc/named.conf) is the active configuration file currently in use, which may still contain custom settings from before the update. D (/etc/bind/bind.conf) is not a standard file path for RPM-based BIND installations; Debian/Ubuntu systems use /etc/bind/named.conf, but the presence of .rpmnew/.rpmsave in the question points to an RPM-based system. Comment 3 incorrectly selects C because it focuses on the typical config location rather than the package-update artifact.

Community Comment Notes

Comment 1 provides the clearest explanation: review /etc/named.conf.rpmnew to see the new defaults, and compare it with /etc/named.conf. Comment 4 highlights a common misunderstanding about .rpmnew vs .rpmsave; .rpmnew contains the new default config, while .rpmsave is a saved copy of the original config that was replaced. Comment 6 mentions Debian's /etc/bind/bind.conf, but that path is not applicable to the RPM-based .rpmnew scenario in this question. The vote split (58 vs 42) shows that many test-takers confuse the active config file with the package's shipped default.

Official Reference

https://bind9.readthedocs.io/en/latest/

This link opens the official vendor documentation in a new tab.

Exam Strategy

When you see .rpmnew or .rpmsave in a question, determine what the package manager did after the update: .rpmnew is the new default, while .rpmsave is a backup of an old config. Do not automatically select the standard config path like /etc/named.conf—read the question carefully to see if it asks for the active config or the shipped default.

Community Votes

A
58%
C
42%

58% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 6 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 6

  1. Kashim 👍 6 Answered A
    Review /etc/named.conf.rpmnew to see the new default configuration that came with the BIND update. Use /etc/named.conf to view your current active configuration. Compare /etc/named.conf with /etc/named.conf.rpmnew to identify changes or updates. By examining /etc/named.conf.rpmnew, you can understand how the new default settings differ from your existing configuration.
  2. Qubert2 👍 3 Answered C
    After updating BIND on your Linux system, the main configuration file that shipped with the new version are typically located in the following directory: - Debian/Ubuntu: /etc/bind/named.conf - Red Hat/CentOS: /etc/named.conf
  3. Monty97 👍 2 Answered C
    The default configuration file for BIND (Berkeley Internet Name Domain) DNS server is typically located at: C. /etc/named.conf /etc/named.conf.rpmnew and /etc/named.conf.rpmsave are likely created during updates to preserve the previous configuration files. They usually represent configurations that have been changed or replaced during package updates. /etc/bind/bind.conf is not a standard location for the default BIND configuration file. It's possible that the BIND configuration directory might be /etc/bind, but the main configuration file is typically named named.conf. Therefore, the administrator should review the file located at /etc/named.conf to review the default configuration that shipped with the updated BIND software package.
  4. riddie78 👍 2
    Should this be "B" or am I not understanding this??? An .rpmnew file contains the new default configuration file and leaves your original configuration file untouched. By contrast, and .rpmsave file is a copy of your original configuration file, which has been replaced by the new default file.
  5. HappyDay030303 👍 1 Answered A
    A. /etc/named.conf.rpmnew package manager does not overwrite your existing config it creates the new default config as a .rpmnew file
Show 1 more comment
  1. bongobo 👍 1
    For Debian correct is: D. /etc/bind/bind.conf

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to XK0-005 Study Guide