Author Topic: BIND DNS Server  (Read 197 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
BIND DNS Server
« on: November 09, 2019, 09:32:44 PM »
Hello,

BIND DNS Server service does not start and fail.
and reply with the below warning:
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
---------
Logs:

Nov  9 23:31:43 WebServer systemd: Starting Generate rndc key for BIND (DNS)...
Nov  9 23:31:43 WebServer systemd: Started Generate rndc key for BIND (DNS).
Nov  9 23:31:43 WebServer systemd: Starting Berkeley Internet Name Domain (DNS)...
Nov  9 23:31:43 WebServer bash: zone localhost.localdomain/IN: loaded serial 0
Nov  9 23:31:43 WebServer bash: zone localhost/IN: loaded serial 0
Nov  9 23:31:43 WebServer bash: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
Nov  9 23:31:43 WebServer bash: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Nov  9 23:31:43 WebServer bash: zone 0.in-addr.arpa/IN: loaded serial 0
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns1.digitalocean.com..db:5: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns1.digitalocean.com..db:12: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns1.digitalocean.com..db:13: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns1.digitalocean.com..db:14: empty label
Nov  9 23:31:43 WebServer bash: zone ns1.digitalocean.com/IN: loading from master file /var/named/ns1.digitalocean.com..db failed: empty label
Nov  9 23:31:43 WebServer bash: zone ns1.digitalocean.com/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/ns1.digitalocean.com./IN: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns2.digitalocean.com..db:5: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns2.digitalocean.com..db:12: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns2.digitalocean.com..db:13: empty label
Nov  9 23:31:43 WebServer bash: dns_master_load: /var/named/ns2.digitalocean.com..db:14: empty label
Nov  9 23:31:43 WebServer bash: zone ns2.digitalocean.com/IN: loading from master file /var/named/ns2.digitalocean.com..db failed: empty label
Nov  9 23:31:43 WebServer bash: zone ns2.digitalocean.com/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/ns2.digitalocean.com./IN: empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/WebServer.halim.website.db:4: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/WebServer.halim.website.db:10: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/WebServer.halim.website.db:11: near 'ns2.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: zone WebServer.halim.website/IN: loading from master file /var/named/WebServer.halim.website.db failed: empty label
Nov  9 23:31:43 WebServer bash: zone WebServer.halim.website/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/WebServer.halim.website/IN: empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/halim.website.db:4: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/halim.website.db:10: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/halim.website.db:11: near 'ns2.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: zone halim.website/IN: loading from master file /var/named/halim.website.db failed: empty label
Nov  9 23:31:43 WebServer bash: zone halim.website/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/halim.website/IN: empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/hamada.db:4: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/hamada.db:10: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/hamada.db:11: near 'ns2.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: zone hamada/IN: loading from master file /var/named/hamada.db failed: empty label
Nov  9 23:31:43 WebServer bash: zone hamada/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/hamada/IN: empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/ws.halim.website.db:4: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/ws.halim.website.db:10: near 'ns1.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: dns_rdata_fromtext: /var/named/ws.halim.website.db:11: near 'ns2.digitalocean.com..': empty label
Nov  9 23:31:43 WebServer bash: zone ws.halim.website/IN: loading from master file /var/named/ws.halim.website.db failed: empty label
Nov  9 23:31:43 WebServer bash: zone ws.halim.website/IN: not loaded due to errors.
Nov  9 23:31:43 WebServer bash: _default/ws.halim.website/IN: empty label
Nov  9 23:31:43 WebServer systemd: named.service: control process exited, code=exited status=1
Nov  9 23:31:43 WebServer systemd: Failed to start Berkeley Internet Name Domain (DNS).
Nov  9 23:31:43 WebServer systemd: Unit named.service entered failed state.
Nov  9 23:31:43 WebServer systemd: named.service failed.

Offline
*
Re: BIND DNS Server
« Reply #1 on: November 19, 2019, 10:58:56 AM »
I'm having the same issue and after reading a few post I think I need to setup my local server as a local nameserver. I have a dedicated server with 1 and 1 for my web site and I use the DNS service and all the sites work as needed but I get the same error.

Job for named.service failed because the control process exited with error code

I'm going to set my nameserver to the localhost and see that fixes the issue.