Author Topic: BIND DNS Server failed !!  (Read 7201 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
BIND DNS Server failed !!
« on: June 28, 2019, 10:18:27 AM »
Hello!

I can not start the "BIND DNS Server".

Can someone here help me with this?

When I try to start the following message appears:

Quote
WARNING!

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details

Status:

Code: [Select]
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-07-04 00:56:18 EDT; 7min ago
  Process: 9258 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Jul 04 00:56:18 srv1.fourse.com.br bash[9258]: /etc/named.conf:105: zone 'ns1.centos-webpanel.com': already exists previous definition: /etc/named.conf:104
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service: control process exited, code=exited status=1
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: Unit named.service entered failed state.
Jul 04 00:56:18 srv1.fourse.com.br systemd[1]: named.service failed.

"tail log file var/log/messages/" button:

Code: [Select]
Jul  4 00:38:30 srv1 systemd: Started Flexible branding.
Jul  4 00:38:30 srv1 systemd: Starting Flexible branding.
Jul  4 00:38:30 srv1 systemd: Reached target Paths.
Jul  4 00:38:30 srv1 systemd: Starting Paths.
Jul  4 00:38:30 srv1 systemd: Started Daily Cleanup of Temporary Directories.
Jul  4 00:38:30 srv1 systemd: Starting Daily Cleanup of Temporary Directories.
Jul  4 00:38:30 srv1 systemd: Listening on RPCbind Server Activation Socket.
Jul  4 00:38:30 srv1 systemd: Starting RPCbind Server Activation Socket.
Jul  4 00:38:30 srv1 systemd: Reached target Sockets.
Jul  4 00:38:30 srv1 systemd: Starting Sockets.
Jul  4 00:38:30 srv1 systemd: Started Amavisd clean tmp timer.
Jul  4 00:38:30 srv1 systemd: Starting Amavisd clean tmp timer.
Jul  4 00:38:30 srv1 systemd: Reached target Basic System.
Jul  4 00:38:30 srv1 systemd: Starting Basic System.
Jul  4 00:38:30 srv1 systemd: Started D-Bus System Message Bus.
Jul  4 00:38:30 srv1 systemd: Starting D-Bus System Message Bus...

Offline
**
Re: BIND DNS Server failed !!
« Reply #1 on: July 02, 2019, 10:45:20 PM »
open /etc/named.conf file and remove the duplicate zone - ns1.centos-webpanel.com

Offline
*
Re: BIND DNS Server failed !!
« Reply #2 on: December 10, 2020, 04:47:15 AM »
open /etc/named.conf file and remove the duplicate zone - ns1.centos-webpanel.com

thank you!!!!