Author Topic: BIND DNS Server failed  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
BIND DNS Server failed
« on: March 21, 2021, 10:55:38 AM »
Hi,
I have Bind dns server failed after changin nameserver. This was the logs status :

● 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 Sun 2021-03-21 17:36:45 WIB; 16min ago
  Process: 2805 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 23847 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
  Process: 25976 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)
 Main PID: 1460 (code=exited, status=0/SUCCESS)

Mar 21 17:36:45 todaymma.hosting systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
Mar 21 17:36:45 todaymma.hosting bash[25976]: /etc/named.conf:63: unknown option '.todaymma.net'
Mar 21 17:36:45 todaymma.hosting systemd[1]: named.service: control process exited, code=exited status=1
Mar 21 17:36:45 todaymma.hosting systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 21 17:36:45 todaymma.hosting systemd[1]: Unit named.service entered failed state.
Mar 21 17:36:45 todaymma.hosting systemd[1]: named.service failed.

Offline
*
Re: BIND DNS Server failed
« Reply #1 on: April 21, 2021, 12:49:58 PM »
Again change your nameserver. Then Automatically Solved Your Problem.

Offline
*
Re: BIND DNS Server failed
« Reply #2 on: April 22, 2021, 02:59:34 AM »
There is a configuration on line 63 of your /etc/named.conf file that cannot be defined by BIND.

'.todaymma.net' Before your domain name here "." Try starting BIND again by unchecking and saving the file.