.. meta::
:description: The Micetro DNS Agent relies on the BIND tool named-checkconf to verify if the BIND configuration is valid.
:keywords: Bind, DNS server, Micetro, named.conf
.. _named.conf-location:
named.conf validation
=====================
The Micetro DNS Agent (``mmremote``) relies on the BIND tool ``named-checkconf`` to verify whether the BIND configuration ``named.conf`` is valid.
If the ``named-checkconf`` is not found on any of the standard directories during installation (or if the installation is inside a CHROOT), the :guilabel:`Advanced` button is not shown.
To fix this, add a configuration parameter that points to the ``named-checkconf`` tool to the DNS Agent configuration file ``preferences.cfg`` (usually in ``/var/named/mmsuite/preferences.cfg``):
.. code-block::
Make sure that the ``named-checkconf`` tool is executable and reachable for the DNS Agent (if the DNS Agent is inside a CHROOT environment, the ``named-checkconf`` must also be inside that CHROOT as well as all dynamic libraries needed).
.. note::
After changing the configuration file for the DNS Agent, the DNS Agent process (``mmremoted``) must be started.
.. _override-default-paths:
Overriding the default named-checkconf or named-checkzone paths
---------------------------------------------------------------
If necessary, you can override the default paths for ``named-checkconf`` and/or ``named-checkzone`` and specify new ones in the DNS Agent ``preferences.cfg`` file.
**To override the default path(s)**, add your preference value for each of the following statements:
.. code-block::
.. note::
After changing the configuration file for the DNS Agent, the DNS Agent process (``mmremoted``) must be started.